IWExternalTask.finish() open API clarification
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.
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.
0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 144 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
TeamSite Developer Resources
If you are interested in gaining full access to the content, you can register for a My Support account here.
- Docker Automation
- LiveSite Content Services (LSCS) REST API
- Single Page Application (SPA) Modules
- TeamSite Add-ons
If you are interested in gaining full access to the content, you can register for a My Support account here.