Martyn Houghton Posted May 26, 2022 Share Posted May 26, 2022 Linked to my earlier post about duration period when entering them manually (links at the bottom of the post), the same issue occurs if you simply insert a duration value of 'P2M', the node works but only puts the request on hold for 2 mins not 2 months. This is expected as the M is used for both minutes and months. However you try to use more detailed duration string the node will error, for example 'P0Y2M0W0DT0H0M', 'P0Y2M0W0DT0H0M0S'. Note - In the example below I have removed the numeric variable from the human task which is setting the number of months to rule that out for the moment. Change the Hold Period to manual and entering the same value in works, so it appears to be something in the format I am using to specify the duration or the translation of the format into what Service Manager expects. @Ehsanam I using the correct format for specifying the duration? Cheers Martyn https://www.digi.com/resources/documentation/digidocs/90001437-13/reference/r_iso_8601_duration_format.htm Link to comment Share on other sites More sharing options...
Steve Giller Posted May 26, 2022 Share Posted May 26, 2022 1 hour ago, Martyn Houghton said: if you simply insert a duration value of 'P2M', the node works but only puts the request on hold for 2 mins not 2 months. This is expected as the M is used for both minutes and months. That's not expected: "P2M" is a two-month duration and "PT2M" is a two-minute duration - this is specifically to resolve ambiguity. That may need looking at. 1 hour ago, Martyn Houghton said: However you try to use more detailed duration string the node will error What is the error here? Link to comment Share on other sites More sharing options...
Martyn Houghton Posted May 26, 2022 Author Share Posted May 26, 2022 @Steve Giller Error below. Let me know if you want me to raise this as a support request. Cheers Martyn Link to comment Share on other sites More sharing options...
James Ainsworth Posted June 5, 2022 Share Posted June 5, 2022 There is a fix being put into place for the above issue. It will be interesting to see if the fix has any affect on the issues reported here. 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