Configure a manual task

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

To configure a manual task, in the workflow editor, right-click the task, and then click Properties to open the Properties form. Use the following procedures to configure the properties for the manual task.

Name the task

Follow these steps to enter a name for the manual task.

  1. In the left pane, click Basic Settings.

  2. In the Name field, enter a unique name for the task.

Enter a subject line and instructions

You must provide a subject line and instructions to users who are assigned to the task.

For example, if you are configuring a task for purchase requisitions, the user who is assigned to the task sees the subject line and instructions in the Purchase requisitions form. The subject line appears in the message bar of the form. The user can click the icon in the message bar to view the instructions. The following figure shows the location of the message bar and the icon that the user clicks to view instructions.

Workflow message bar with the Actions button

Follow these steps to enter a subject line and instructions.

  1. In the left pane, click Basic Settings.

  2. In the Work item subject text box, enter the subject line.

  3. To personalize the subject line, you can insert placeholders. Placeholders are replaced with the appropriate data when they are displayed to users.

    1. Click in the text box at the location where you want the placeholder to appear.

    2. Click Insert placeholder.

    3. In the list that is displayed, select the placeholder to insert.

    4. Click Insert.

  4. To add translations of the subject line, click Translations. In the form that is displayed, follow these steps:

    1. Click Add.

    2. In the list that is displayed, select the language in which you will enter the text.

    3. In the Translated text text box, enter the text.

    4. To personalize the text, insert placeholders.

    5. Click Close.

  5. In the Work item instructions text box, enter the instructions.

  6. To personalize the instructions, you can insert placeholders. Placeholders are replaced with the appropriate data when they are displayed to users. Follow these steps to insert a placeholder:

    1. Click in the text box at the location where the placeholder should appear.

    2. Click Insert placeholder.

    3. In the list that is displayed, select the placeholder to insert.

    4. Click Insert.

  7. To add translations of the instructions, click Translations. In the form that is displayed, follow these steps:

    1. Click Add.

    2. In the list that is displayed, select the language in which you will enter the text.

    3. In the Translated text text box, enter the text.

    4. To personalize the text, insert placeholders.

    5. Click Close.

Assign the task

Follow these steps to specify who the manual task should be assigned to.

  1. In the left pane, click Assignment.

  2. On the Assignment type tab, select one of the options in the following table, and then follow the additional steps for the option before you go to step 3.

    Option

    Task is assigned to

    Additional steps

    Participant

    Users who are assigned to a specific group or role

    1. After you select Participant, click the Role based tab.

    2. In the Type of participant list, select the type of group or role to assign the task to.

    3. In the Participant list, select the group or role to assign the task to.

    Hierarchy

    Users in a specific organizational hierarchy

    1. After you select Hierarchy, click the Hierarchy selection tab.

    2. In the Hierarchy type list, select the type of hierarchy to assign the task to.

    3. The system must retrieve a range of user names from the hierarchy. These names represent users who the task may be assigned to. Follow these steps to specify the starting point and ending point of the range of user names that the system retrieves:

      • To specify the starting point, select a person in the Start from list.

      • To specify the ending point, click Add condition. Then enter a condition that determines where in the hierarchy the system stops retrieving names.

    4. Click the Hierarchy options tab.

    5. Specify which users in the range the task is assigned to:

      • Assign to all users retrieved – The task is assigned to all users in the range.

      • Assign only to last user retrieved – The task is assigned only to the last user in the range.

      • Exclude users with the following condition: – The task is not assigned to any users in the range who meet a specific condition. Click Add condition to specify the condition.

    Workflow user

    Users in the current workflow

    1. After you select Workflow user, click the Workflow user tab.

    2. In the Workflow user list, select a user who participates in the workflow.

    User

    Specific Microsoft Dynamics AX users

    1. After you select User, click the User tab.

    2. The Available users: list includes all Microsoft Dynamics AX users. Select the users to assign the task to, and then move these users to the Selected users: list.

    Queue

    A work item queue

    1. After you select Queue, click the Queue based tab.

    2. To assign the task to a specific queue, follow these steps:

      • In the Queue type list, select Work item queues.

      • In the Queue name list, select the queue.

    3. If a specific condition should determine which queue the task is assigned to, follow these steps:

      • In the Queue type list, select Conditional work item queues.

      • In the Queue name list, select Conditional queue.

  3. Click the Time limit tab.

  4. In the Duration field, specify how much time the user has to complete the task. Select one of the following options:

    • Hours – Enter the number of hours that the user has to complete the task. Then select the calendar that your organization uses, and enter information about your organization's work week.

    • Days – Enter the number of days that the user has to complete the task. Then select the calendar that your organization uses, and enter information about your organization's work week.

    • Weeks – Enter the number of weeks that the user has to complete the task.

    • Months – Select the day and week by which the user must complete the task. For example, you may want the user to complete the task by Friday of the third week of the month.

    • Years – Select the day, week, and month by which the user must complete the task. For example, you may want the user to complete the task by Friday of the third week of December.

    If the user does not complete the task in the allotted time, the task is overdue. A task that is overdue can be escalated, based on the options that you select in the Escalation area of this form.

Specify what happens when the task is overdue

If a user does not complete the manual task in the allotted time, the task is overdue. A task that is overdue can be escalated, or assigned automatically to another user. Follow these steps to escalate the task if it is overdue.

  1. In the left pane, click Escalation.

  2. Select the Use escalation path check box to create an escalation path. The system automatically assigns the task to the users who are listed in the escalation path.

    For example, the following table represents an escalation path.

    Sequence

    Escalation path

    1

    Assign to: Donna

    2

    Assign to: Erin

    3

    Final action: Reject

    In this example, the system assigns the overdue task to Donna. If Donna does not complete the task in the allotted time, the system assigns the task to Erin. If Erin does not complete the task in the allotted time, the system rejects the document that was submitted for processing.

  3. To add a user to the escalation path, click Add escalation. Click the Assignment type tab, select one of the options in the following table, and then follow the additional steps for the option before you go to step 4.

    Option

    Users that the task is escalated to

    Additional steps

    Hierarchy

    Users in a specific organizational hierarchy

    1. After you select Hierarchy, click the Hierarchy selection tab.

    2. In the Hierarchy type list, select the type of hierarchy to escalate the task to.

    3. The system must retrieve a range of user names from the hierarchy. These names represent users who the task may be escalated to. Follow these steps to specify the starting point and ending point of the range of user names that the system retrieves:

      • To specify the starting point, select a person in the Start from list.

      • To specify the ending point, click Add condition. Then enter a condition that determines where in the hierarchy the system stops retrieving names.

    4. Click the Hierarchy options tab.

    5. Specify which users in the range that the task is escalated to:

      • Assign to all users retrieved – The task is escalated to all users in the range.

      • Assign only to last user retrieved – The task is escalated only to the last user in the range.

      • Exclude users with the following condition: – This task is not escalated to any users in the range who meet a specific condition. Click Add condition to specify the condition.

    Workflow user

    Users in the current workflow

    1. After you select Workflow user, click the Workflow user tab.

    2. In the Workflow user list, select a user who participates in the workflow.

    User

    Specific Microsoft Dynamics AX users

    1. After you select User, click the User tab.

    2. The Available users: list includes all Microsoft Dynamics AX users. Select the users to escalate the task to, and then move these users to the Selected users: list.

  4. Click the Time limit tab.

  5. In the Duration field, specify how much time the user has to complete the task. Select one of the following options:

    • Hours – Enter the number of hours that the user has to complete the task. Then select the calendar that your organization uses, and enter information about your organization's work week.

    • Days – Enter the number of days that the user has to complete the task. Then select the calendar that your organization uses, and enter information about your organization's work week.

    • Weeks – Enter the number of weeks that the user has to complete the task.

    • Months – Select the day and week by which the user must complete the task. For example, you may want the user to complete the task by Friday of the third week of the month.

    • Years – Select the day, week, and month by which the user must complete the task. For example, you may want the user to complete the task by Friday of the third week of December.

  6. Repeat steps 3 through 5 for each user to add to the escalation path. You can change the order of the users.

  7. If the users in the escalation path do not complete the task in the allotted time, the system acts on the task. To specify the action that the system takes, select the Action row. Then select an action on the End action tab.

Specify when the system automatically acts on the task

You can configure the system to act on the manual task if specific conditions are met.

For example, a task requires that a member of the Expense Reports department review the receipts that are submitted together with an expense report. According to company policy, this task must be performed when the total amount of the expense report is more than USD 100. In this scenario, you can configure the system to automatically mark the task as Complete when total amount < 100.

Follow these steps to specify when the system acts on the manual task.

  1. In the left pane, click Automatic actions.

  2. Select the Enable automatic actions check box.

  3. Click Add condition.

  4. Enter a condition.

  5. Enter additional conditions, if they are needed.

  6. To verify that the conditions that you entered are configured correctly, complete the following steps:

    1. Click Test. The Test workflow condition form is displayed.

    2. Select a record in the Validate condition area of the form.

    3. Click Test. The system evaluates the record to determine whether it meets the conditions that you defined.

    4. Click OK or Cancel to return to the Properties form.

  7. In the Auto complete action list, select the action that the system should take on the task.

Specify when notifications are sent

You can send notifications to people when a manual task has been delegated, escalated, completed, or rejected, or when a change has been requested.

Follow these steps to specify when notifications are sent, and who the notifications are sent to.

  1. In the left pane, click Notifications.

  2. Select the check box next to the events that notifications should be sent for:

    • Delegate –When the task has been assigned to another user.

    • Escalate –When the assigned user has not completed the task in the allotted time.

    • Complete – When the assigned user has completed the task.

    • Reject –When the assigned user has rejected the document that was submitted.

    • Request change – When the assigned user has requested a change to the document that was submitted.

  3. Select the row for an event that you selected in step 2.

  4. Click the Notification text tab.

  5. In the text box, enter the text of the notification.

  6. To personalize the notification, you can insert placeholders. Placeholders are replaced with the appropriate information when they are displayed to users. Follow these steps to insert a placeholder:

    1. Click in the text box at the location where the placeholder should appear.

    2. Click Insert placeholder.

    3. In the list that is displayed, select the placeholder to insert.

    4. Click Insert.

  7. To add translations of the notification, click Translations. In the form that is displayed, follow these steps:

    1. Click Add.

    2. In the list that is displayed, select the language in which you will enter the text.

    3. In the Translated text text box, enter the text.

    4. To personalize the text, insert placeholders.

    5. Click Close.

  8. Click the Recipient tab.

  9. Specify who the notifications are sent to. Select one of the options in the following table, and then follow the additional steps for the option before you go to step 10.

    Option

    Notification recipients

    Additional steps

    Participant

    Users who are assigned to a specific group or role

    1. After you select Participant, click the Role based tab.

    2. In the Type of participant list, select the type of group or role you want to send notifications to.

    3. In the Participant list, select the group or role to send notifications to.

    Workflow user

    Users in the current workflow

    1. After you select Workflow user, click the Workflow user tab.

    2. In the Workflow user list, select a user who participates in the workflow.

    User

    Specific Microsoft Dynamics AX users

    1. After you select User, click the User tab.

    2. The Available users: list includes all Microsoft Dynamics AX users. Select the users to send notifications to, and then move these users to the Selected users: list.

  10. Repeat steps 3 through 9 for each event that you selected in step 2.

Set a time limit

Follow these steps if the manual task must be completed in a specific time.

Note

The options that you select in these steps override the options that you selected in the Assignment and Escalation areas of this form.

  1. In the left pane, click Advanced settings.

  2. Select the Set a time limit for the workflow element check box.

  3. In the Duration field, specify when the task must be completed. Select one of the following options:

    • Hours – Enter the number of hours in which the task must be completed. Then select the calendar that your organization uses, and enter information about your organization's work week.

    • Days – Enter the number of days in which the task must be completed. Then select the calendar that your organization uses, and enter information about your organization's work week.

    • Weeks – Enter the number of weeks in which the task must be completed.

    • Months – Select the day and week by which the task must be completed. For example, you may want the task completed by Friday of the third week of the month.

    • Years – Select the day, week, and month by which the task must be completed. For example, you may want the task completed by Friday of the third week of December.

  4. If the time limit is exceeded, the system acts on the task. In the Action list, select the action that the system should take.

Specify which actions are available to the user

When the manual task is assigned to a user, the user must act on the task. Follow these steps to specify which actions the user can take on the task.

Note

The actions available will vary, depending on how the task is designed.

  1. In the left pane, click Advanced settings.

  2. Select the Complete check box if the user should be able to mark the task as Complete.

  3. Select the Reject check box if the user should be able to reject the document that was submitted.

  4. Select the Request change check box if the user should be able to request changes to the document that was submitted.

  5. Select the Delegate check box if the user should be able to assign the task to another user.

  6. Select the Reassign check box if the user should be able to reassign the task to another user in the work item queue.

  7. Select the Release check box if the user should be able to reassign the task to the work item queue. Another user can then complete the task.

Specify whether users can act on the task from the work list in Enterprise Portal

By default, users can act on tasks from the Work list Web part in Enterprise Portal for Microsoft Dynamics AX. However, there may be cases where you do not want users to be able to act on tasks from this Web part. For example, you might require that users open the documents and act on the tasks from the documents themselves.

Follow these steps to specify whether users can act on the manual task from the Work list Web part in Enterprise Portal.

  1. In the left pane, click Advanced settings.

  2. To allow users to act on the task from the Work list Web part in Enterprise Portal, select the Enable actions from the work list in Enterprise Portal check box.

  3. To prevent users from acting on the task from the Work list Web part in Enterprise Portal, clear the Enable actions from the work list in Enterprise Portal check box.