Skip to main content
Question

Supported Functions in expressions in XML Business Rules

  • November 22, 2022
  • 1 reply
  • 164 views

Forum|alt.badge.img+7

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

Shneor Cheshin
Superhero (Employee)
Forum|alt.badge.img+28
  • Superhero (Employee)
  • 1173 replies
  • November 22, 2022

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings