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)
workflow stucks on submit task
kapoor
All
I am triggering a workflow programmatically includes 'submit task' and it works fine when run on single or less pages.
I triggered WF for whole branch and a lot of Job ID's got stuck on submit tasks , so i have to go on separate Job id's and click 'Resolve conflict' and then retry submit.. which is bad..
can any body suggest how can i get all job id's stuck on particular task and having same owner and trigger them all.. no need to click separately job id's.
Thanks
Find more posts tagged with
Comments
Adam Stoller
Since the built-in Resolve Conflicts task is a CGI, which I don't believe gets invoked until you select the option to do so (if it does, see below) I don't believe there is any way for you to automate this short of use testing software to learn the various clicks to make (and that would be guess work at best IMO)
IFF the task is already active without you having to click a button, you could probably script something that calls the proper transition with the iwcallback CLT, Perl equivalent, or CCSDK equivalent. You'd have to look at the active task spec with iwgetwfobj to determine if this is an actual possibility and to get the proper callback id value (thus it's probably better to use Perl or CSSDK for this - as the callback id could be different for different jobs, but the description for the callback should be the same)
Anil Kumar
How to use callback using CSSDK Java?
I'm using WFM 7.3.1, sometimes jobs getting at tasks and transition is not happening with some files. but when i do callback from backend it works.
./iwcallback taskId rectCode
So I want to do callback programmatically which solves such stuck scenarios.
I tried reading cssdkiface.jar, but i dont see any callback function which expects taskid and rect code. Also how to know rect code dynamically?
------------------------ I'm sorry
I realized chooseTransition is itself a callback,.... my brain sucks!
------------
backend we use rect code and in java we use transition link name