Please enable JavaScript to view this site.

Process Designer

Navigation: Javascript API > User dialog functions > Step actions

jr_show_step_action(mixed action)

Scroll Prev Top Next More

This function displays one or several step actions in the form.

Parameter

Type

Description

action

string | array

Action name of array with the name of the actions that are to be displayed.

Possible actions are:

abort

answer

assign

back

finish

jumpTo

request

resubmission

save

send

If several actions are committed they will be shown successively. If the committed array contains other action names, the function will display an error message containing the not supported actions. Valid actions will be displayed despite the error message.

Note: Only functions activated in the step can be displayed!

Example

In a dialog the actions Send and Assign are hidden. After activating the function for the action Assignit will be displayed in the form:

jr_show_step_action('assign')

dialog_step_actions2

If the action Send is displayed thereafter, it will be shown as top action button and Assign will be moved into a drop-down list:

jr_show_step_action('send')

dialog_step_actions