Skip to main content

Custom

Definition

ThaThis step is used to define a custom script that will be executed.

SteptSteps Tabs

Task details

Here you could findAll the listprocess oftype availablehave Tabsthe same Task details for the Custom Stepstep:

  • Script: allows you to define a Script this step allows to add a script to be executed.

&&TODO&& example assignment script

comments = serviceLocator.getToken().getComments();
selector = executionContext.getVariable("userSelector");
user = serviceLocator.getUserService().findUserByUserName(selector);
if (user != null) {
  subject = "Soffid - Notification";
  message = "Automated mail sent ..............";

  
  if (comments != null && !coments.isEmpty()) {
    for each(comment Process: type.comments) You{
      couldmessage browse+= comment.message;
    }
  }
  System.out.println("------> " + message);
  //serviceLocator.getUserService().sendHtmlMailToActors(new String[] user.userName, subject, message);
}

image-1623060590000.png

Incoming transitions

  • From: the previous step, where the flow come. 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 correspondingfinal pageuser.
  • To: current step.
  • Action: allows creating a custom script to viewperform morespecific information.actions.
When you create an incoming transition, Soffid creates the proper outcoming transition.

&&TODO&& Ejemplos

 

Outgoin transitions

The Outcoming transition tab shows 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 set up, add new transitions or delete transitions.

  • From: current step.
  • Incoming transition: name of the transition.
  • To: the next step, where the flow go.
  • Action: allows creating a custom script to perform specific actions.

When you create an outcoming transition, Soffid creates the proper incoming transition.

&&TODO&& Ejemplos

 USER MANAGEMENTPERMISSION MANAGEMENTACCOUNT RESERVATION
Task details   
Fields   
User queriesDoes not apply N/ADoes not apply N/ADoes not apply N/A
Triggers   
Incoming transitions   
Outgoing transitions