Salesforce

Disabling, Deactivating and Deleting Flows (Magic xpi 4.9)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Disabling, Deactivating and Deleting Flows (Magic xpi 4.9)

You can disable, enable, and deactivate individual flows within your Magic xpi project.

Disable

When you disable a flow, the flow is not executed when the project is deployed. At runtime, the Magic xpi Monitor displays a message indicating the flow is disabled.

To disable a flow, go to the flow's Properties pane and select No from the Enable property's drop-down list.

Enable

If a flow has previously been disabled, you can enable it by going to the flow's Properties pane and selecting Yes from the Enable property's drop-down list.

The disabling and enabling of flows is managed in the Space.

Inactive

You can improve the Checker's performance by marking a flow as inactive. The flow is then omitted from the Checker process, and also from the deployment process.

To mark a flow as inactive, go to the Solution Explorer, right-click the flow you want to deactivate, and then select Inactive from the shortcut menu.

To reactivate a flow that you previously marked as inactive, go to the Solution Explorer, right-click the flow you want to deactivate, and then select Active from the shortcut menu.

When a flow is inactive:

  • The icon will be displayed next to the flow name in the Solution Explorer.

  • It will not be checked by the Checker.

  • It will not be part of the created deployment module.

  • Data Mapper steps will not be generated.

  • An error message will appear if another flow tries to call the inactive flow.

Delete

To delete a flow, go to the Solution Explorer, right-click the flow you want to delete, and then select Remove from the shortcut menu. Each business process must have at least one flow; therefore, you cannot delete the only remaining flow of a business process.

Make sure that flows are not used by other flows before you attempt to delete them. You can do this by running the Find Reference utility.
Reference
Attachment 
Attachment