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)
How to get workflow action/Wft_type
System
TS 6.1 Win2K
I'm using a configurable workflow that creates a dynamic workflow using the config file.
I've a requirement that for workflows started from TFO, I need to add an extra step which otherwise will be marked dormant.
Is there any way for me to know the workflow initiating action (e.g. new_job, tfo_new_job, tt_data) etc.?
I looked at the WfWorkflow APIs, but couldn't find anything there.
Is there any other way of getting the action?
TIA
Find more posts tagged with
Comments
Adam Stoller
I don't believe there is any way, within the wft (or externaltasks or cgitasks) to determine which action (new_job, submit, tt_data, tfo, etc) was responsible for initiating the workflow.
The only way I can think of to possibly do this, in a *completely unsupported* way, would be to make some adjustments to IWHOME/local/config/wft/available_templates.ipl (the IPL script - not the config file) - where it makes reference to $COMMAND -- what exactly you can do with it from there, I'm not sure, but ...
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
Migrateduser
I guess you could have different .wft file names in available_templates.cfg for the different actions, and they could be symlinks to the real .wft, then use the .wft name to determine which action, but that's a little smacky. Not sure if this is possible/supported or how it would work on Windows (hopefully something like Junctions could be used instead of symlinks).
Tbag
Is the conclusion of this thread still true today?
Is there no easy/supported way to determine if a tt_data or new_job action was responsible for kicking off a workflow?