Skip to main content

Start

Definition

That is the first step of the workflow. At that step, you could define the fields you want to show when the end users will go to generate a task and the transitions available.

Step Tabs

Here you could find the list of available Tabs for the Start Step for each Process type. You could browse to the corresponding page to view more information.

&&TODO&& REVISAR DONDE PONER

Summary

  USER MANAGEMENT PERMISSION MANAGEMENT ACCOUNT RESERVATION
Task details Does not apply N/A   Does not apply N/A
Fields      
User queries Does not apply N/A Does not apply N/A Does not apply N/A
Triggers      
Incoming transitions Does not apply N/A Does not apply N/A Does not apply N/A
Outgoing transitions      

Process type

User management

Task details

This process type does not have task details for the start step.

Fields

In this tab, you could choose what fields the process form will show to the end users. You can choose these fields from all identity attributes, and from the attributes defined for the workflow on the Attributes Tab.

For each field, you could choose if the field is read-only or write-mode, also you could add a script to validate the value of the field, and a script to decide the conditions to display the value.

Also, you can sort the fields, you only need to do drag and drop on the Order column to establish the proper order.

FieldsValidation examples
User
if queries
(value == null || value.equals("")) throw new Exception("The userName is mandatory"); else return true;

It is also allowed in the following manner:

if (value == null || value.equals(""))
  return ("The userName is mandatory");
else 
  return true;
Triggers
Visibility
Incoming transitions
Outgoing transitions

 

Permission management

Task details
Fields
User queries
Triggers
Incoming transitions
Outgoing transitions

 

Account reservation

Task detailsexample

&&TODO&&

aaaa

Triggers

On the trigger tab you could define different triggers using custom scripts. Those triggers will be launched with the events you will define.

  • onLoad
  • on PrepareTransition
  • onChange

 

FieldsExample
User

For queries

instance,
Triggers
to
calculate the email when firstName or lastName change and depending on the userType: 

firstName   = (inputFields.get("firstName")!=null) ? inputFields.get("firstName").value : null;
lastName    = (inputFields.get("lastName")!=null) ? inputFields.get("lastName").value : null;
userType    = (inputFields.get("userType")!=null) ? inputFields.get("userType").value : null;

if (firstName!=null && !firstName.trim().isEmpty() &&
    lastName!=null && !lastName.trim().isEmpty() &&
    userType!=null && !userType.trim().isEmpty()) {
  
  emailAddress = firstName + "." + lastName;
   if ("E".equals(userType)) {
   		emailAddress = emailAddress + ".ext@soffid.com";
   } else {
     	emailAddress = emailAddress + "@soffid.com";
   }
  inputFields.get("emailAddress").value = emailAddress;
  
}

Incoming transitions

This process type does not have task details for the start step.

Outgoing transitions

 

 

 

 

 

 


&&TODO&& Revisar

Task detail

This tab only apply for Permission management process type.

For more information visit the Task details page of Permission management.

Fields

This tab apply to all Process types

 

Trigger

For more information visit the Triggers Tab page

Outgoin transitions

For more information visit the Outgoing transitions Tab page