Question

Supported Functions in expressions in XML Business Rules

  • 22 November 2022
  • 1 reply
  • 18 views

Userlevel 1
Badge +5

Hello experts,

 

I was trying to update a datetime field via an expression in a Business Rule xml message using the below:

<update_task>
<task>
    <task_id>@task_id</task_id>
    <user_def_dttm3>@expression[Now()]</user_def_dttm3>
<update/>
</task>
</update_task>

 

What I was wondering is: How can i use the Days(Integer) function in conjunction with the above to update a datetime property with the current datetime plus 1 day (same time but tomorrow)?

 

 

Best Regards,

G.T.


1 reply

Userlevel 6
Badge +18

Hey @gtzortzid 

If the XML mentioned works for you, please try the following

 

<user_def_dttm3>@expression[now() + Days(1)]</ user_def_dttm3>

Cheers!

Reply