1

In a civirules action I would like to set a custom participant field to the current date/time using the action 'Set Custom Field on any entity'

What json can I use for current date/time to set a custom date? (or might there be another smart workaround)

$now() does not do the job

enter image description here

1 Answer 1

2

This exact thing came up for me this week.

Just use the word "now", without quotes. No json.

It uses api3 to set the value so anything api3 understands will work.

1
  • YES! thank you, been looking for this answer for months.
    – Tim CD
    Commented Dec 22, 2023 at 1:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.