Custom group action shows how to create a custom group action that processes multiple tasks.
In this case, the custom group action shows a count of tasks by status.
Setup
Install the extension into your Relay instance.
From the Relay module, use the New high-level folder option to create a new Custom group action folder.
How to use
Create tasks in the group and then run Custom action from the group.
How it works
The group-level status rules run a group-level process. The group-level process runs Custom Action Run Script which creates a form with the counts on it.
The group-level process uses a standard pattern of running a step, then interpreting the result as an instruction to show a form or to return to the user. The same pattern is used for many group-level processes (though in this case, it is partly redundant). See the custom task group action example for an example of handling form input. See the complex data run script in the complex data example for a very full example.
The status rules and process are included in Custom action, which is referenced by the Custom group action folder group profile.
Customization
To change the name of the task, modify Custom Action Group Status Rules.
To change the functionality of the task, modify Custom Action Run Script.