The ActionHub/ActionFlow platforms are rule-based, so the first thing you must do is create rules to invoke action based on your processes. A few examples of rules to drive process include invoking a build job in Jenkins based on a commit message to a specific branch in a repository, invoking a workflow in CollabNet ActionFlow to deploy a build based on a successful build message from a Jenkins job, and opening a defect in a project based on a health event from a monitoring tool like New Relic.
Enter meaningful attributes into this field to describe what the rule does. This will make it easier to understand in lists and notifications.
Include as much detail as possible to help another person understand the rule. For example, the description may include details about the parameters defined for the action on the target system.
The SOURCE page shows a list of all sources defined in TeamForge EventQ. These source systems generate events which may match the rule being defined. Selecting the source also tells the editor the type of event generated by the system such as commit, workitem, build, deploy, review, health and more. This allows the editor to understand the format of the message and make it easy to create the criteria for the rule.
The Property list displays a list of all properties defined for the message type specified by the Source system. For example, a source control system will show properties for a commit message. A tracker system will show properties for a work item message.
Creating nested criteria
If you want to create a criteria that evaluates more than one condition such as (work_item.created_by Contains user123 AND work_item.updated_by Contains userQA) OR (work_item.status_id Equals Ready for Deploy), you can create a nested criteria as follows.
Now, you can modify the conditions by clicking the Matches Any link and selecting Edit Condition from the menu. The Add Condition dialog box appears allowing you to modify the condition.
Click Add New to add (nest) more conditions.
The TARGET drop-down list shows a list of all target workflow systems. Selecting a target system populates the ACTION drop-down with actions available for the event type defined by the Source system.
The Action drop-down list shows all available actions on the target workflow system based on the event type of the Source system. Selecting an action populates the PARAMETERS table with all the available parameters for the action. Refer to the documentation for the action in the target workflow system for purpose of each parameter. If the selected action requires input, the PARAMETERS table will be populated with the required parameters.
Create as many rules you want. You can now go to the Rule Execution History tab (Project Home > ActionHub) to view the history of rules that are executed.
Create and execute a Manual Rule
The Manual Rule feature allows you to create rules that will be manually executed on demand from the Release Console page.
Audit information for rules
Within ActionHub, you can view a rule's general information, scope, change log and the rule execution history.
Change Log tab: Shows the change log for a rule.