Configuring workflows
The following topics provide information about configuring workflows:
Out-of-the-box workflows
BMC Remedyforce has created out-of-the-box workflows that are available for you to use. You must activate these workflows to use them. For more information, see Salesforce Help. The following table describes the out-of-the-box workflows.
Deprecated workflows
The following workflows have been deprecated:
- Open popup dialog for recalculating due date when priority of incident changes
- Open popup dialog for recalculating due date when priority of problem changes
- Open popup dialog for recalculating due date when priority of task changes
Therefore, these workflows must be deactivated in your Salesforce organization. If the workflows are not deactivated, duplicate tasks or change requests can be created for a Service Request. To deprecate a workflow, see To activate or deactivate a workflow.
To activate or deactivate a workflow
All out-of-the-box workflows are deactivated by default. You must activate a workflow, to enable the business requirement that it fulfills.
- Click the Remedyforce Administration tab.
- On the Home page, click the Manage Workflows and Approvals tile, and from the menu select Workflow Rules.
- On the All Workflow Rules page, in the Action column of the required workflow rule, click Activate or Deactivate.
To create a workflow to inform a change owner about colliding change requests
- To create the email template that is sent when a colliding change request is detected, perform the following actions:
- Click the Remedyforce Administration tab.
- On the Home page, click the Configure Email tile, and from the menu, select Email Templates.
- On the Unfiled Public Email Templates page, from the Folder list, select BMC Remedyforce Emails.
- Click New Template.
- On the Step 1. Email Template: New Template page, select Visualforce, and click Next.
- Select the Available For Use check box.
- In the Email Template Name field, enter a name for the email template; for example, Collision Detection Email.
- In the Email Subject field, enter a subject for the email message; for example, Colliding change requests are detected.
- From the Recipient Type list, select User.
- From the Related To Type list, select BMCServiceDesk_Change_Request_c, and click Save.
- Click Edit Template, and type the message that you want to send to the change owner.
- Click Save.
- Navigate to Create > Workflows & Approvals > Workflow Rules.
- On the All Workflow Rules page, click New Rule.
- On the Step 1: Select Object page, from the Object list, select Change Request, and click Next.
- On the Step 2: Configure Workflow Rule page, in the Rule Name field, enter a name for the workflow; for example, Notify change owner when collision is detected.
- In the Evaluation Criteria section, ensure that created, any time it's edited to subsequently meet criteria is selected.
- In the Rule Criteria section, from the Field list, select Change Request: Collision Detection State.
- From the Operator list, select equals.
- In the Value field, enter Collision, and click Save & Next.
- On the Step 3: Specify Workflow Actions page, from the Add Workflow Action list, select New Email Alert.
- On the New Email Alert page, in the Description field, enter a description for the email alert.
- In the Email Template field, select the email template that you created (Collision Detection Email).
- From the Recipient Type list, select Owner.
- From the Available Recipients list, select Change Request Owner, and click the right arrow.
- From the From Email Address list, ensure that Current User's Email Address is selected.
- Click Save.
- On the Step 3. Specify Workflow Actions page, click Done.
- On the Workflow Rule page, click Activate.
To create a workflow to notify that the task is reassigned to another staff member or queue
To create a workflow to notify that the task is reassigned to another staff member or queue, perform the following actions:
- (For Salesforce Classic) Navigate to Setup > Build > Create > Workflows & Approvals > Workflow Rules.
(For Lightning Experience) Navigate to Setup > Platform Tools > Process Automation > Workflow Rules. - Click the Notify the assigned staff member when a task is created and assigned to the staff member workflow.
- Click Clone.
- In the Rule Name field, enter Notify the assigned queue/staff member when a task is reassigned to the queue/staff member.
- In the Description field, enter Notifies the queue or staff member when a task is reassigned to the queue or staff member.
- In the Evaluation Criteria section, select the created, and every time it's edited option.
In the Rule Criteria section, add the following rule:
{{code language="none"}}
OwnerId <> $User.Id && ISCHANGED( OwnerId ) && NOT(ISNEW() ) && BMCServiceDesk__state__c = True
{{/code}}- Click Save & Next.
- In the Immediate Workflow Actions section, select New Email Alert option from the Add Workflow Action drop-down list.
- On the New Email Alert page, enter notify_staff_when_a_task_has_been_re-assigned_to_them in the Description field.
- In the Email Template field, select Task Email Template 1 Version 2.0.
In the Recipient Type field, select Owner.
- From the Available Recipients list, select Task Owner, and click the right arrow.
- Click Save.
- Click Done.
- On the Workflow Rule page, click Activate.
Related topic
Searching-for-matching-incidents
Enabling-assignment-of-records-to-both-queues-and-staff-members