samwoo Posted July 27, 2023 Share Posted July 27, 2023 Good morning, I don't know if this is a defect or a user error, but I've had a process that's been in place for some time now with no changes made, and today there has been an error with it. I have a Wait for Status Change node that is used if there is a Delivery Date set against the Human Task. This Delivery Date is used in the Expire Period field. Here is the question on the Human Task: When the Business Process gets to the Wait for Status Change node, this error occurs. I checked the value of the Human Task question and it's: So I then checked the help for that Expire Period field in the Wait For Status Change node, and it says this: If I am reading that right , I cannot use a Date/Time value in here... I need a duration. But I cannot see any utilities that can generate a Duration between the current date and the Delivery Date... The closest I can see is Cloud Automation -> Utilities -> Get Date Difference but none of the outputs appear to indicate the duration. What can I do to solve this? Thanks, Samuel Link to comment Share on other sites More sharing options...
Steve Giller Posted July 27, 2023 Share Posted July 27, 2023 Hi @samwoo Durations are in ISO 8601 Duration Format. I'm afraid that all I can say about converting a due date into a duration is "Best of luck" Hopefully someone else will have some ideas. 1 Link to comment Share on other sites More sharing options...
samwoo Posted July 27, 2023 Author Share Posted July 27, 2023 Thanks @Steve Giller for the information, that is useful to know. I may have to consider storing this in a Simple List but I can't remember how Human Task questions handles Simple List values, whether the list will display the name and the selection made by the user stores the value or the name... might need to have a play. However I was wondering what @Steve G thinks of having a new Cloud Automation node for this, or update the existing Cloud Automation -> Utilities -> Get Date Difference node to produce the Duration in ISO 8601 Format? Link to comment Share on other sites More sharing options...
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