Trying to make a simple call to CustomerOrderHandling to creat the customer order Header.
tried it with simple quotes and without ‘
Always having error
When trying the same this with postman my order is created
any Idea please?
Page 1 / 1
We got around this by assigning the date field to a variable in a script:
We also have a system defined .bpmn that was helpful (DatesExample). If you have that in your Workflows, it may be of some use as well?
@IFSRUNINNOVAL its your wanted delivery date.
first remove it from your call if possible to see if it works.
Then play with the date formats but best luck will be to just use yyyy-mm-dd
otherwise some casting will be required. @Lahirumala de Mel
The ValueOf has done it for me thank’s.
It’s weird how using the rest api we do not need to pass the date as timestamp but via workflow we should pass the date as timestamp @Lahirumala de Mel
@MWitczak your workflow was to create customerOrder please?
I’m trying to creat the line.
In postman is ok, but in the workflow, should i put the body as entity parameters or nested entity parameters please?
I was able to creat the line but the workflow asked me to define the LineNo.
Alternatively, you can also use the supported date format directly with the api task too, In that way you dont need to use a script task to do additional processing