cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure buttons in workflow dialog

tiennd
Champ in-the-making
Champ in-the-making
Hi,
I have created a process definition similar to the review process. I have also created a task model for that definition. After deploy the process and the task model, I can create the workflow and assign to an user (let say userA). But when I login as userA, click on the task, there's only save information and Done buttons, there's no buttons like Approve, Reject as in review process. Although my definition is much the same. Do I have to change some other files?

Thank you,
Regards,
4 REPLIES 4

kerkira67
Champ in-the-making
Champ in-the-making
Hi,

you just need to assign labels to the transitions in your workflow definition. If you have one transition labelle "Approve" and another one "labelled "Reject", you will have the "Approve" and "Reject" buttons within the appropriate task dialogue.

Cheers
Roberto

davidc
Star Contributor
Star Contributor
Even without the labels you should at least see a button for each transition (where the button label is the id specified in the process definition).

Try adding the labels, but if that doesn't work, can you post your process definition.

tiennd
Champ in-the-making
Champ in-the-making
I didn't create the label for transition. There's only one transition, may be that's the reason why the label for the button is Task Done. After clicking on this, the workflow moves to the next step in the definition.

davidc
Star Contributor
Star Contributor
That's right.  If there's only one transition, you only get one button.  You can give the transition an id in the process definition and provide it a label.  That way, the button doesn't have to be 'Task Done'.