Creating the QA Example Model in the Portal Modeling perspective

If you like to create the model with an Activity marked for Quality Assurance in the Modeling perspective of the Infinity Portal, proceed as follows:

Creating the Workflow

First create the workflow of the model:

  1. Create a process called QAUseFormula.
  2. Create two roles Accountant and QA Operator.
  3. Create the following two primitive data:
  4. Click on the process to open its diagram canvas.
  5. Click on the default lane to open its properties pane and select Accountant as participant.


  6. Create a start event followed by a manual activity, e.g. Create Account.
  7. Drag the two data to the lane.
  8. Create In- and Out-data-mappings for both data to activity Create Account.
  9. Create a new lane and select QA Operator as participant.
  10. In this lane create a subsequent manual activity, e.g. Next Activity.

The workflow should now look like in the following diagram:

Figure: Diagram with created workflow.

Setting Quality Assurance Criteria

Now set the criteria for quality assurance in the property page of activity Create Account:

  1. Click the QA icon on the left side of the pane to open the Quality Assurance properties.
  2. In the Quality Assurance pane, choose role QA Operator from the drop-down list as QA Participant.
  3. Leave the probability value as 100%.
  4. Enter the following formula:
    var accnr=AccountNumber;
    var accname=AccountName;
    if ( (accnr > 9999) || (accnr < 1000))
    else if ( accname == null )

Figure: Quality Assurance Criteria

Setting Quality Assurance Codes

Now we set quality assurance codes that can be used to be added as notes when a quality assurance on an activity instance fails. These can be set in the model property page:

  1. Open the model property page.
  2. Go to the Quality Assurance Codes tab.
  3. Click the Add Add icon to add a new code.
  4. Enter the following two error codes:

The error codes are now listed in the Quality Assurance Codes tree:

Figure: New Error Codes listed in the tree

Now mark in the activity that these codes should be used:

  1. Open the property page of activity Create Account.
  2. Click the QA icon on the left side of the pane to open the Quality Assurance Codes properties.
  3. In the Quality Assurance Codes section, select the two error codes for the account.

Error Codes
Figure: Select error codes to be used.