Workflows do not skip terminated locations automatically. To exclude them, add a Lifecycle Stage condition that limits the workflow to active locations.
This article explains how to stop Information Manager workflows from running against terminated locations. Any user with the proper privileges can make this change. If you do not have these permissions, contact your corporate administrator.
Why workflows keep running for terminated locations
Renewal and licensure workflows are triggered by dates, such as the Agreement Expiration Date. If the workflow has no Lifecycle Stage condition, it keeps running for locations that have since been terminated. For example, a 90-day renewal notice can keep going out for a location terminated months earlier. Adding a Lifecycle Stage condition to the workflow stops this. The condition only affects messages that will be sent in the future. It has no effect on messages that have already been sent.
Add the Lifecycle Stage condition
Add the Lifecycle Stage condition to every date-triggered renewal or licensure workflow that should skip terminated locations, such as a 90-day or 180-day renewal notice. Complete these steps for each one.
- Open the Information Manager workflows by clicking INFORMATION MANAGER > Workflows.
- Find the workflow to modify and click the ellipsis icon on the right side of its row.
- Click Modify.
- Select Locations matching below condition(s) if the workflow does not already have conditions set.
- Open the Select fields to filter Locations dropdown to add a new filter.
- Add the Lifecycle Stage filter.
- Search for the Lifecycle Stage filter. Select the one listed under Franchisee Lifecycle, not Lifecycle Stage Dead Deal.
- Select the checkbox next to Lifecycle Stage.
- Keep the operator for the first lifecycle stage filter set to In. This dropdown can also be changed to Not In.
Note: Not In runs the workflow on locations that do not have the selected lifecycle stages. For example, selecting Not In with Active runs the workflow on all the other lifecycle stages.
- Select the lifecycle stages.
- Open the lifecycle stages dropdown.
- Select all the lifecycle stages that are active and should be included in this workflow.
Note: You can select more than one lifecycle stage. Include any lifecycle stages that fit the needs of this workflow so that it covers all the locations it should. For example, a Remodeling location is still active, just in a different state of active. Do not include stages that come after termination.
- Set the exit condition so locations that no longer meet the conditions are removed from the workflow.
- Click the Settings tab.
- Under EXIT CONDITION, for When a Location no longer meets the conditions?, select Remove them from this workflow.
Note: This setting controls what happens to locations in the workflow when they no longer meet its conditions. The Keep them in this workflow. option leaves them in the workflow. The Remove them from this workflow. option takes them out.
- Click SAVE to save your changes.
Note: Repeat these steps to add the Lifecycle Stage condition to every similar workflow, such as other renewal notice intervals and licensure workflows.
Add the Lifecycle Stage condition when you build any new renewal or licensure workflow, and before you activate an inactive one.
Test that the workflow runs as expected
To confirm the condition works, create a test location and trigger the workflow with the conditions set up exactly as they are in the live workflow: the same dates and the same lifecycle stage. Check that the workflow runs as expected.
If a terminated location still triggers the workflow
If the workflow already has conditions, check when the workflow was triggered and when the workflow was modified. The two may have overlapped. If they did not overlap, this may be a system error. Contact support to resolve it.