Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
IWExternalTask.finish() open API clarification
jas1
I am trying to transition a task from a java application and immediately trying to find out what is the next task that got activated.
The task is a user task and I am calling finish() API with the required transition option. After that I want to find out the task in the workflow that got activated due to the transition.
I have the code working and very rarely it gives exception.
My question is, according to the implementation of the transition API, will the transition happen immediately or
interwoven internally schedules it to be transitioned at
some later point of time. If the finish() API call returns only
after a successful transition is completed, then my code
will not have a problem. But if the API returns after
scheduling a transition for the task, then it might be
meaningless to get the next active task immediately.
(May be, i might need to have some polling mechanism
in my program that waits till the transition is successfully
completed and visible through the openAPI)
Please throw some light on this,
thanks,
jas.
Find more posts tagged with
Comments
There are no comments yet