Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi all,
I am trying to add approved and rejected routing options in the promotion request review task by creating routing commands in workflow template but I am not able to display those routing options in the task object. Has anyone tried creating this? How to add routing options in the task completion area?
Solved! Go to Solution.
I tried with empty route condition and radio buttons are displaying now. I guess problem was with setdefaultroutingEvent. I had set value as true for this. Now I changed it to false and then restarted again. Or there might be something else I would have missed. I will check my logic may be there is some mistake with it. Thank you for your time @Florent.
Are you creating a task form template of type native ?
If so, then there is 2 "Complete" items available. I think, only one reveals the voting option.
Furthermore, you have to choose the right type of task.
And you also have to select the correct routing option "Manual Exclusive".
Florent
Hi @Florent,
This is what I did,
First I launched promotion request review process workflow template.
Then in Review promotion request activity I went to routing tab and added my route condition and in routing events I added my event name.
In action link I set fire for reject and start for approve.
if rejected, review process will go to end. If approved it will create a promotion request approval task automatically without user creating another request again.
Saved and checked in and stopped Windchill. Cleared tomcat and info*engine logs and restarted windchill.
Have I missed anything? I am new to Workflow customization, if I have missed any step please help.
I don't see what you would have missed.
What did you put in route condition (did you try with empty) ?
You should take a look on the OOTB workflow templates, like "Promotion Request Approval Process" for instance.
Florent
I tried with empty route condition and radio buttons are displaying now. I guess problem was with setdefaultroutingEvent. I had set value as true for this. Now I changed it to false and then restarted again. Or there might be something else I would have missed. I will check my logic may be there is some mistake with it. Thank you for your time @Florent.