cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Workflow : In correct duration format

Dipankar
Participant
0 Kudos

Hi,

I am getting this error while running the workflow. (might be a silly one)
I have imported the package by following the below blog -

https://blogs.sap.com/2020/07/28/flexibly-onboard-a-vendor-in-sap-erp-after-approvals-in-sap-cloud-p...


Error- >
The duration value specified was "${context.TaskDueDate}". The correct duration format is P[n]Y[n]M[n]DT[n]H[n]M, whereby at least once [n] should be replaced by an integer value. Please consult the documentation for additional information.



tobias_breyer
Contributor

Hi Dipankar,

possibly, the expression "${context.TaskDueDate}" cannot be resolved, because it is not set e. g. in a step before or during process start. In that case, the expression stays unresolved and therefore does not following the ISO8601 format.

So you should check why the TaskDueDate is not set.

Regards,

Tobias

Accepted Solutions (0)

Answers (0)