Apply changes
Definition
This step is used to assign permission to a user to access the protected resource.
Steps Tabs
Task details
- Grant account access: check it (option selected Yes ) if you want to give grant account access to the protected resource.
The Incoming transitions tab displays the previous steps where the flow comes from. When you create a process from a template or from scratch default incoming transitions are defined. It is allowed to customize the default setup, add new transitions, or delete transitions.
- From: the previous step, where the flow comes. Allows you to select where the workflow comes from.
- Incoming transition: brief name to identify the transition. That is the name of the action the form will show to the final user.
- To: current step.
- Action: allows creating a custom script to perform specific actions.
Example
Get the mail of the requester and send a notification.
requester = executionContext.getVariable("requester");
user = serviceLocator.getUserService().findUserByUserName(requester);
serviceLocator.getMailService().sendTextMail(
user.emailAddress,
"Resquest Rejected",
"XXXXXXXXXXXXX");
Outgoing transitions
The Outcoming transition tab displays the next steps where the flow can go from the current step. When you create a process from a template or from scratch default outcoming transitions are defined. It is allowed to customize the default setup, add new transitions, or delete transitions.
- From: current step.
- Incoming transition: name of the transition.
- To: the next step, where the flow goes.
- Action: allows creating a custom script to perform specific actions.
When you create an outcoming transition, Soffid creates the proper incoming transition.
Example
requester = executionContext.getVariable("requester");
user = serviceLocator.getUserService().findUserByUserName(requester);
.....