Jump to content

Suspend node Expire period - what variables can be used?


Recommended Posts

Guest Paul Alexander
Posted

In a Suspend - Wait for Off Hold node, what can be added to the Expire Period if the 'variable' option is used please?

image.png.b35d288dc99252ca84f6b5da1eaab336.png

Guest Ehsan
Posted

Hi @Paul Alexander,

The 'Expire Period' attribute has to be in an ISO 8601 duration format.  The documentation links below explains the make-up of a duration value:

To give you an example, if I wanted to set the period to 1 day 5 hours 6 minutes, I would set the Expire Period to P0Y0M1DT5H6M0S.

I hope this helps.

Ehsan

  • 6 months later...
Posted

@Ehsan @Paul Alexander

When specifying a value in the Expire Period, do you have to specify the whole period syntax or can you use the shorter form?

For example I want to insert a expiry period of a number of days from a task variable (&[functions.getTaskAnswers("task-e8053916-70e9-4b61-4f50-e7c658357139").Followup]).

Do you have to use the full syntax as per your example

P0Y0M&[functions.getTaskAnswers("task-e8053916-70e9-4b61-4f50-e7c658357139").Followup]DT0H0M0S

Or can you use

P0Y0M&[functions.getTaskAnswers("task-e8053916-70e9-4b61-4f50-e7c658357139").Followup]D

or

P&[functions.getTaskAnswers("task-e8053916-70e9-4b61-4f50-e7c658357139").Followup]D

Cheers

Martyn

Guest Paul Alexander
Posted

Hi @Martyn Houghton

We decided to not use this option - we cheated! 

We use an Integration Bridge 'Utilities/Get Timestamp' node to set how long to  put something on hold for, and then use the output of that as the expiry date in 'on hold':

image.thumb.png.4e8cc5e8f738e928606cdfd343537298.png

 

image.png.d732b3ae3ebd211d79b9703b06ae8d47.png

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...