Salesforce

Schedule Flow Service (Magic xpi 4.1)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Schedule Flow Service (Magic xpi 4.1)

The Schedule Flow service lets you create schedules for flow invocation. You use this service to start a flow after specific actions in another flow, however the flow will not be called until its scheduled time. If the flow that contains the Schedule Flow service does not run, the Magic xpi Server does not execute the schedule. This service is used as a step in a flow. You can also set conditions to the step or to the flow's scheduled time and date so that the schedule is executed only if the conditions are met.

At deployment, the Magic xpi Server uses the Schedule information to invoke flows at the required time periods.

To add the Schedule Flow service to a flow:

  1. Find the services icons in the Components pane at the left of the screen. You can display only the services by selecting Services from the drop-down list at the top of the Components pane.

  2. Drag the Schedule Flow service to your flow.

  3. In the Schedule Flow dialog box, enter the information as described in the table below:

Parameter

Description

Name

Type a name that describes the service in the flow.

Description

Type a description of the service in your flow (optional).

Processing mode

Select whether the step should be executed linear, parallel or stand-alone. This is only available if the Schedule Flow service is not the first step in the flow.

Wait for completion

Select whether the step should be run in Wait for Completion mode. The options are Yes or No.

Note:

Wait for completion is only available when the Schedule Flow service is a linear step and if it is not the first step in the flow.

Save Point

Select Yes to indicate that the step is a Save Point in your flow. This is available only if the flow's Recovery Policy is set to Save Point.

Magic xpi Server

Select the Magic xpi Server where the Schedule Flow service is executed.

Click to the right of the Magic xpi Server field to open the Server List. Select a Server from the list and then click Select.

Call logic flow

You can use this option if you want to call generic logic after the execution of a specific step. Once this step has been executed, the flow logic that you defined in the flow properties is called before the Server continues to the following steps.

The options are Yes or No (default).

Flow ID

The ID of the flow to be scheduled. Click the button to open the Flow List. Select the flow to be scheduled and then click Select. The flow is displayed next to the button.

Date

Indicate the date the flow is to begin in dd/MM/yyyy format

You can click next to the Date field to open the Expression Editor and create an expression or condition to define the date to call the specified flow. You can use this when you want to change the schedule according to specific events that occur in the current flow or project. Enter an expression or use a variable to dynamically define the date to call the flow.

Time

Indicate the Time that the flow is to begin in hh:mm:ss format.

You can click next to the Time field to open the Expression Editor and create an expression or condition to define the time to call the specified flow. You can use this when you want to change the schedule according to specific events that occur in the current flow or project. Enter an expression or use a variable to dynamically define the time to call the flow.

  1. Click OK to close the Schedule Flow dialog box. The Schedule Flow service is displayed in the flow.

    Reference
    Attachment 
    Attachment