TeamcenterKnowledge

Installing and configuring MBSE > Configuring MBSE > Configuring test management

Add participants to the test workflow

Model-Based Systems Engineering provides a workflow that allows you to release a completed test. This workflow has default roles associated with it that are sufficient to perform the necessary tasks in a typical organization -- namely design engineer and test engineer. (In the following example, the test engineer is a CAE analyst.)

Depending on the complexity of your organization, you may want to enhance this workflow. The following example shows how to:

  • Introduce a new participant, CAEAnalyst.
  • Introduce a new test status, Submitted-CAE.
  • Allow the CAEAnalyst participant to modify test output data, depending on the test status.
  • Configure the new workflow template for the CAEAnalyst participant.
  • Show the CAEAnalyst participant in the Participants location in Active Workspace.

Procedure

  1. (Optional) Create a custom template project in Business Modeler IDE for the new data. You can also customize the standard test data model.

  2. Configure a condition to control access, for example:

    p.crt0State = "" OR ( Condition::Crt0AnalysisRequestRevisionIsModifiable(p, s, u) AND
      Condition::Crt0IsSystemsDesigner(p, u) ) OR ( (p.crt0State != "Completed") AND
      (Condition::Crt0IsSSimulationEngineer(p, u) or Condition::IsCAEAnalyst(p, u) )
    )
    
  3. If you want to create a new workflow template, create it from the default test State Workflow template:

    • In Workflow Designer, choose File > New Root Template.

    • Select the default template as the basis of your new template.

    • Add the action handlers for CAE Review Analysis Request to select-signoff-team.

    • Add the action handlers for CAE Review Analysis Request to perform-signoffs.

    • Add the action handlers for Set New Issue State on the test.

    • Modify the action handler for Review Analysis Request in perform-signoffs to Submitted-CAE if the user performs an undo action.

    • Add CAEAnalyst to the Participants section, e.g.:

      <command actionKey="newBusinessObjectContextualAction" commandId="com.siemens.splm.client.workflow.addParticipant" renderingHint="commandbutton" />
      <command actionKey="newBusinessObjectContextualAction" commandId="com.siemens.splm.client.workflow.replaceParticipant" renderingHint="commandbutton" />
      <tableDisplay>
        <property name="fnd0AssigneeUser" />
        <property name="fnd0AssigneeRole" />
        <property name="fnd0AssigneeGroup" />
        <property name="fnd0AssigneeEmail" />
        <property name="fnd0AssigneePhone" />
        <property name="fnd0AssigneeOrganization" />
      </tableDisplay>
      <listDisplay />
      
  4. Open a test in Active Workspace and verify that CAEAnalyst appears on the Participants tab.