A new pre-defined variable - expiration is now available.
You can use get/set on this.
Here is a simple example -
Here I set expiration to
I do this in the Start activity of my process. I also log the expiration value after output association.
So we should timeout after 3 minutes.
I deploy and test -
The expiration date has been set correctly, I started the test at 11:50.
I wait and meditate...
suitably refreshed, I return to em and see the timeout error.
Now I change the composite to catch this timeout.
I deploy / re-test.
Here is my log message from the error handling sub-process -
Check out Albin's blog for syntax on using dates etc and xp20