Help

Create a workflow manually

27 0
cancel
Showing results for 
Search instead for 
Did you mean: 
jessiechong1995
4 - Data Explorer
4 - Data Explorer

In Dynamics 365 Business Central, a workflow consists of three different components:

  • Workflow event - An event or action that occurs within the system that will trigger a response.

  • Workflow condition - The condition that moderates the workflow event that you specified in the When Event field. When you select the field, the Event Conditions window opens in which you can specify condition values for predefined lists of relevant fields.

  • Workflow response - The actions that will be performed by the system when an event occurs that meets the predefined condition.

 

 

To create a new workflow from the beginning, you need to create a workflow by listing the involved steps on the Workflow page. Each step consists of a workflow event, which is moderated by event conditions, and a workflow response, which is moderated by response options. You will then define workflow steps by filling in fields on workflow lines from lists of event and response values that represent scenarios that are supported by the system.

The following procedure shows how to create a workflow to notify a user when a customer credit limit is changed.

  1. Select the search for page icon in the upper-right corner of the page, enter workflows, and then select the related link.

  2. Select New.

  3. In the Code field, enter a maximum of 20 characters to identify the workflow. For this example, you can enter US-CUSTLIM_01.

  4. In the Description field, enter Notify on customer credit limit change.

  5. In the Category field, specify the type of workflow. Select the Look up value to select a category. For this example, select SALES.

  6. In the When Event field, specify the event that must occur to start the workflow step. When you select the field, the Workflow Events page opens, where you can choose from all workflow events that exist. For this example, select A customer record is changed.

  7. In the On Condition field, specify one or more conditions that must be met before the event in the When Event field can occur. When you select the field, the Event Conditions page opens, where you can choose from a list of filter fields that are relevant as conditions for the event in question. You can add new filter fields that you want to use as event conditions. You will set event condition filters as you would set filters on report request pages.

    For this example, enter the credit limit condition as follows:

    1. Select the On Condition field.

    2. Select Field, which displays all fields of the customer table. Select the Credit Limit ($) field.

    3. Select the is field and then select Changed.

       

       

    4. Select OK to return to the Workflow page.

  8. In the Then Response field, specify the response that will follow when the workflow event occurs. When you select the field, the Workflow Responses page opens, where you can choose from all workflow responses that exist and then set response options for the selected response. For this example, select Create a notification for %1.

  9. On the Options for the Selected Response FastTab, specify options for the workflow response.

    1. To specify options for a workflow response that involves sending a notification, fill in the fields as follows:

      • Notify Sender - Specifies if the approval requestor is notified instead of the approval request recipient. If you select this option, the Recipient User ID field is disabled because the requestor of the approval (the sender) will be notified instead. The name of the workflow response changes accordingly to Create Notification for <Sender>. If the option is not selected, the name of the workflow response is Create Notification for <User>.

      • Recipient User ID - Specifies the user whom the notification must be sent to. This option is only available for workflow responses with a placeholder for a specific user. For workflow responses without placeholders for users, the notification recipient is typically defined by the approval user setup.

      • Notification Entry Type - Specifies if the workflow notification is triggered by a record change, an approval request, or a past due date.

      • Link Target Type - Specifies another page in Business Central where the link in the notification opens instead of the default page. The page must have the same source table as the record that is involved.

      • Custom Link - Specifies the URL of a link that is added to the notification in addition to the link to page in Business Central.

red hat openstack raining courses malaysia

0 Replies 0