Designer Sample Orchestration Project

Designer Sample Orchestration Project

Step 4. Setting Task Deadlines

Step 4. Setting Task Deadlines

You can specify one or more deadlines by which a task must be started and also one or more deadlines by which a task must be completed. If a start or completion date is missed, you can trigger one or more escalation actions. For example, if you set a start the task deadline for two hours after a task is created and the deadline is missed, you can send a notification to the task owner. Here are the deadlines you will set:
  • A start deadline that is triggered if the task is not claimed and started by a loanrep within 2 hours.
  • A completion deadline that is triggered if the task s not completed by a loanrep within 130 minutes.
Step 4a. Setting the Start Deadline
  1. From either Participants or Outline view, select the approveTask node and select the Deadlines side tab in the Properties view.
  2. Click the
    Add
    button and set the properties for
    Deadline Type
    to
    Start
    , the
    Alarm Type
    to
    Duration
    and the
    Escalation Type
    to
    Inline Notification
    .
    Deadline Specification
  3. Press
    OK
    .
  4. Click in the blank value under the
    Expression
    column and press the ellipses button (...) and set the duration expression to the following:
    'PT120M'
    . Include the single quotes in what you type.
  5. Repeat steps 1-4 and create a completion deadline with a Duration Alarm Type for 10 minutes later (
    'PT130M'
    ).
  6. The two task deadlines appear in the
    Properties
    view:
    Task deadlines
  7. In the Outline view, select the Start Deadline and select the Escalations side tab in the Properties view.
  8. Select the Inline Notification labeled InlineNofication1 and press the
    Go To
    button.
  9. In the Properties view, select the Notification tab and change the name to
    TwoHourReminder
    .
    task notification
  10. In the Outline view, expand the
    TwoHourReminder
    node and select the child node labeled
    N1
    . This is the where you define the escalation action that is triggered if the deadline is reached.
  11. In the Properties view, select the Notification tab and set the following properties:
    • Name
      :
      ReminderToReps
    • Priority
      :
      2
  12. Press the ellipsis button to the right of the Notification Interface field.
  13. In the
    Notification Interface
    dialog that appears, navigate to the LoanApprovalPeople port type, and select the remind operation.
    Notification Interface Dialog
    The remind operation is a one-way operation that notifies loanreps that a loan application has waited two hours for review. The Notification tab should look similar to the following:
    Notification tab
  14. In the Properties view, select the Presentation tab and set the following properties:
    • Display Name
      :
      Unclaimed Task reminder
    • Subject
      :
      There is a loan task waiting to be claimed. ({$lastname}, {$firstname}; ${$amount} priority {$priority})
    • Description Type
      :
      default
    • Description Content
      :
      A loan review has been unclaimed for 2 hours. Please go to your inbox and claim if appropriate.
      Presentation tab
  15. In the Properties view, select the Presentation tab, press the ellipsis to the right of the
    Subject
    field, and set the following presentation parameters:
    Parameter
    Type
    Expression
    firstname
    string
    htd:getInput('Document', 'approveTask')/loan:firstName
    lastname
    string
    htd:getInput('Document', 'approveTask')/loan:lastName
    amount
    string
    htd:getInput('Document', 'approveTask')/loan:amountRequested
    priority
    string
    htd:getTaskPriority()
    Your completed dialog should look similar to this:
    Presentation parameters
  16. Press
    OK
    .
  17. In the Properties view, select the Assignment tab, click in the Value field, and set the Recipients to loanreps and Business Administrator to loanmgrs.
    Assignment tab
Step 4b. Setting the Completion Deadline
  1. In the Outline view select the Completion Deadline and press the Escalation tab in the Properties view.
  2. Select the
    Inline Notification
    labeled InlineNofication1 and press the
    Go To
    button.
  3. In the Properties view, select the Notification tab and change the name to
    EscalateIfNotActedUpon
    .
  4. In the Outline view, expand the
    EscalateIfNotActedUpon
    node and select the child node labeled
    N1
    .
  5. In the Properties view select the Notification tab and set the following properties:
    • Name
      :
      NotifyReassignToManager
    • Priority
      :
      1
    • Notification Interface
      :
      remind/loanhuman:LoanApprovalPeople
      NotifyReassignment
  6. In the Properties view select the Presentation tab and set the following properties:
    • Display Name
      :
      Escalated To Manager
    • Subject
      :
      This loan is being reassigned to loanmgr1 for review
    • Description Type
      :
      default
    • Description Content
      :
      Needs to be completed within 10 minutes!
      Presentation tab
  7. In the Properties view select the Assignment tab and set the Recipients to loanreps and Business Administrator to loanmgrs, as you did in a previous step for Reminder to Reps.
  8. In the Outline view select the Completion Deadline and press the Escalation side tab in the Properties view.
  9. Press the
    Add
    button and specify Reassignment for the
    Escalation Type
    :
  10. Select the Reassignment labeled
    Reassignment1
    and press the
    Go To
    button.
  11. In the Properties view select the Reassignment side tab and change the name to
    ReassignToMgr1
    .
  12. In the Properties view select the
    Assignment
    side tab and set the properties by pressing the ellipses (...) button in the
    Value
    column:
    • Select Literal for the Type.
    • Press the
      Generate...
      button
    • Change the value in
      <ht:user>
      from
      Some User
      to
      loanmgr1
    • Press
      OK
      .
    • Your Properties should look like the following:
      Assignment tab

0 COMMENTS

We’d like to hear from you!