Dedicated TRIRIGA Workflow Agents

Starting in IBM® TRIRIGA® Application Suite 11.3, you can create additional dedicated IBM TRIRIGA Workflow Agents by using the optional wfagents property of the spec of the IBM TRIRIGA CR.


apiVersion: tririga.ibm.com/v1
kind: Tririga
metadata:
  name: my-tririga
  namespace: ibm-tas
spec:
  ...
  wfagents:
    - name: dwfa1
      members:
        - class: user
          name: myUserName1
        - class: user
          name: myUserName2
        - class: group
          name: myGroupName1
        - class: group
          name: myGroupName2
    - name: dwfa2
      members:
        - class: user
          name: myUserName3
    - name: dwfa3
      members:
        - class: group
          name: myGroupName3                   
  ...

Each item in the spec.wfagents array represents a dedicated workflow agent. The spec.wfagents[i].name string is the name of the dedicated workflow agent and the spec.wfagents[i].members array is the list of users and groups that the workflow agent is dedicated to.

If the item represents a user, set the spec.wfagents[i].members[j].class property equal to user.

If the item represents a group, set the spec.wfagents[i].members[j].class property equal to group.

In both cases, the spec.wfagents[i].members[j].name property is the name of the user or of the group. If the spec.wfagents array is present, it cannot be empty. That is, at least one item must be defined. Also, the members array of each one of the included items cannot be empty. That is, at least one user or group must be assigned to the dedicated workflow agent. Each spec.wfagents[i].name must have a unique name and should be a part of the dedicated WFAgent POD.

Best practices

  • Restrict a user to only a single agent. Sharing users across multiple WFAgents is not recommended because all workflows should be executed by one process.
  • Usage of groups is possible but not recommended. Make sure that all users are added to the group before you create a dedicated Workflow Agent. If new users are added to the group, the WFAgent POD must be restarted to pick up new changes.

Known limitations

Deleting a previously added WFAgent pod from IBM TRIRIGA does not reflect the changes in the UI (Agents Page). You must remove the WFAgent pod manually from the Admin Console.