Guest Paul Alexander Posted July 8, 2021 Posted July 8, 2021 In a Suspend - Wait for Off Hold node, what can be added to the Expire Period if the 'variable' option is used please?
Guest Ehsan Posted July 10, 2021 Posted July 10, 2021 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: http://books.xmlschemata.org/relaxng/ch19-77073.html https://www.digi.com/resources/documentation/digidocs/90001437-13/reference/r_iso_8601_duration_format.htm 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
Martyn Houghton Posted January 26, 2022 Posted January 26, 2022 @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 January 26, 2022 Posted January 26, 2022 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':
Martyn Houghton Posted January 26, 2022 Posted January 26, 2022 @Paul Alexander Thanks, as we using the expiry period on the suspend node and not the Place On Hold, I have to work with the period parameter, as most of the Suspend nodes do not have a expiry date/time option. Cheers Martyn
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now