nerdexam
Microsoft

70-573 · Question #93

You plan to create a workflow that has the following three activities: You need to ensure that each time the workflow starts, the three activities are linked to a single task. What should you do?

The correct answer is C. Configure all activities to use the same correlation token. MNEMONIC RULE: "Correlation token (to correlate one task with three activities)" Each specific task within the workflow should have its own correlation token, which each related activity canuse to access the same, task-specific information. For example, if in your workflow you…

Developing Business Logic

Question

You plan to create a workflow that has the following three activities:

You need to ensure that each time the workflow starts, the three activities are linked to a single task. What should you do?

Options

  • ACreate an SPWorkflowEventReceiver event receiver for the SharePoint Tasks list.
  • BConfigure all activities to use the same Taskld.
  • CConfigure all activities to use the same correlation token.
  • DCreate an SPItemEventReceiver event receiver for the SharePoint Tasks list.

How the community answered

(56 responses)
  • A
    4% (2)
  • B
    16% (9)
  • C
    75% (42)
  • D
    5% (3)

Explanation

MNEMONIC RULE: "Correlation token (to correlate one task with three activities)" Each specific task within the workflow should have its own correlation token, which each related activity canuse to access the same, task-specific information. For example, if in your workflow you want to reference thesame task in CreateTask, CompleteTask, and OnTaskChanged activities, you would bind the CorrelationTokenproperty of each of these activities to the same correlation token variable. Correlation Tokens in Workflows

Topics

#workflow#correlation token#task linking#SPWorkflow activities

Community Discussion

No community discussion yet for this question.

Full 70-573 Practice