Hi,
We are retireving a date string from an API and would like to covert the string date to proper date type. How could we acheive this within the workflow?
Thanks
DS Sharma
I managed to find the expression for this. Incase if any one wanted to do this.
SUBSTRING([FieldName],1,4) & "-" & SUBSTRING([FieldName],5,2) & "-" & SUBSTRING([FieldName],7,2)
I assume this is ION API.
One method is to use a Endpoint Response Transform policy to alter the body content.
You mention workflow, are you referencing ION workflow, if so there are some variable manipulations available there.
Hi Kevin,
Yes, this is ION API using in ION Workflow. Can you point me towards some documentation on how to use Endpoint Response Transform Policy. This is interesting. What do you mean by variable manipulations?
start with Infor ION API Administrators Guide.
Adding policies
Suite policies are applied to every endpoint within the suite and are applied before any endpoint- specific policies. If the same policy is set at the suite and endpoint levels, the endpoint-specific policies overwrite the suite policy.
See Policies on page 61 for more information on the policies available.This is available only for Non-Infor API suites.
Reply if you need more on that.
Re Q2 : Workflows have Variables that can be 'set'. If you solve in Policies, then you likely don't need this, but it is unclear.
Thank you. Much Appreciated.