You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

time comparison

Summary:

How can I compare two times in an OIC 3 flow.

Content (please ensure you mask any confidential information):

I want to receive an access token, make a variable with it's expiry time (1 hour ) and set up a switch to enter into if the time is expired.
I was trying something like this, based off how you would compare a date to another.

ns0:time($token_expiry) <= fn:current-time()
token_expiry is a string

Version (include the version you are using, if applicable):

Oracle Integration Cloud v3.


Code Snippet (add any code snippets that support your topic, if applicable):

ns0:time($token_expiry) <= fn:current-time()

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!