Designing a workflow to remove a service request from the My Stuff page
Before you begin
- Create a service in a BMC Digital Workplace Catalog. For more information about how to create a service, see Adding-and-updating-services.
- Create a service action, and associate it with the service request. For more information about how to create a service action, see Managing-service-actions.
- Create a workflow for a service action, and add a process context variable to this workflow. For more information about how to create a process variable, see Adding-a-process-context-variable-to-a-workflow.
To remove a service request from the My Stuff page
You can design a workflow to remove an item from the My Stuff page only as a part of workflow attached to a service action.
Add the My Stuff Remove Service element to your workflow, and specify the following input parameter:
Input parameter | Data type | Input value | Description |
---|---|---|---|
My Stuff Item Id | String | Process context variable > My Stuff Item > Id | Identifier of the service request to be removed from the My Stuff page. |
When the My Stuff Remove Service activity is executed in a process, a service request defined by this activity is removed from the My Stuff page.
To use My Stuff item process context information in a workflow
In your workflow, you can also add a reference to a service request available on the My Stuff page. For example, you might need to send the name of the My Stuff item to the in-app notification content.
Specify the following My Stuff Item process context variables as input variables of an activity in your workflow:
- My Stuff Item > Name
- My Stuff Item > Id
Example: Workflow for a service action that removes a user from a group in a connected Active Directory
The following workflow shows an example of how a My Stuff Remove Service is used in a workflow mapped to a service action:
When the activities described by this workflow are executed, the following sequence occurs:
- The specified user is removed from the specified group in the connected Active Directory.
- The corresponding service request previously provisioned to the end user is removed from that end user's My Stuff page. The My Stuff Remove Service action is configured to use the Id process context variable.
- An in app-notification is sent to the BMC Digital Workplace Catalog dashboard. The text of the notification is configured to use the Name process context variable of the My Stuff item: