Home
TeamSite
Initiating Workflow jobs based on questionnaire
conmgmt
We need to achieve the following ...
The user should not have the option to choose Workflow jobs...rather the user will get a questionnaire, and based on the options he chooses, the right workflow job gets initiated.
Any ideas/suggestions on achieving this?
Find more posts tagged with
Comments
Migrateduser
You wrote, "the use will get a questionnaire." How will the user get the questionnaire? Is the user going to initiate this process, or is the questionnaire itself going to be a step in a process initiated by another user or activity?
You could make the questionnaire a custom menu item (CGI) and have it kick off a workflow, or you could make the questionnaire a task (perhaps the first) in a workflow.
Brinko Kobrin
Interwoven Staff Engineer
conmgmt
We might have one job in available_templates.cfg. So the user sees only one job & the first task in that job is the questionnaire. I know this is possible.....
The question is ...when the user selects the appropriate answers from the first task; the future tasks need to be encapsulate workflows rather than single tasks. Is this possible?
Migrateduser
I'm sorry. I don't understand the question. Perhaps you could give a little more detail. Do you want the subsequent processing to be different based upon the user responses? If so, in what way?
Brinko Kobrin
Interwoven Staff Engineer
Migrateduser
Read up on nested workflow. What you want to do is fairly complex. If you are not already familiar with nested workflows, this might be more difficult than you want to deal with. Brinko's suggestion of using a custom CGI form is probably the easiest way to go.
Dave Smith
Sr. Software Engineer
Nike, Inc.
(503) 671-4238
DavidH.Smith@nike.com
conmgmt
yes, that's correct... the subsequent processing needs to be different based on user responses...
<In what way?> .... the user's response to the questionnaire determines the workflow that needs to get initiated. In other words, the user will have no clue about what workflow gets initiated next.
Hope this helps to add a little more clarity.
akshathp
So, did you have any questions on what Brinko suggested?
I understand he suggested you the exact way that you would need for your customized workflow kick off. And that is to have a custom CGI kick off as a menu-item from TeamSite GUI. This CGI should present a form to user with your choice of options and have the submit button take care of execution.
To execute your workflow you could:
1. Use "iwjobc" Command Line Tool
2. Call the workflow direct using instantiator.
And yes, some detailed study on workflow can also help a lot to understand how it will work.
Hope this helps!
Akshat Pramod Sharma
Interwoven Inc.