Service Task (Start Child Case)

Service Task (Start Child Case)

An automatic step that sends an HTTP request to Message Start Event (HTTP) on the same workflow platform. You can easily establish an inter-app connection simply by setting the send data. In addition, it is capable of waiting for the Child Case launched by HTTP requests to complete and retrieve data from it. When a workflow App including Message Start Event (HTTP) is released, the corresponding Service Task is automatically generated.

Configs: Common
  • Step Name
  • Note
  • bug_report Debug only this node
  • Move tokens to error boundary events when processing failures occur
Configs: Values to be passed to the Child Case
  • Specify data to be sent to the item set in the receiving event
    • Data Items set to [Editable] in the receiver’s start event settings
    • Title/String-type Data Items are specified by entering text or using EL expressions.
    • For Data Items other than String-type, select and specify Data Items of the same type as the receiving side.
Configs: Values received from the Child Case
  • P1: Data Item to store the ID of the initiated Case
    • (String-type single line Data Item)
  • P2: Wait for Started Child Case to finish
    • Specify the Data Item that stores the value of the item allowed in the [Data Visibility from Parent Case] of the Receiving Event.
    • Select and specify Data Items of the same type as the receiving side

Capture

Notes

  • A [Service Task (Start Child Case)] is automatically generated for each [Message Start Event (HTTP)] in a [Released] App
  • If a [Message Start Event (HTTP)] on the receiving side is deleted then the corresponding [Service Task (Start Child Case)] will also be removed automatically
  • The name of the [Service Task (Start Child Case)] is the App ID App Name Node Number : Step Name
  • The app designer specifies the Data Items and values to be sent to the Child Case on the [Values to Pass to Child Case] tab in the [Service Task (Start Child Case)] settings on the sending side
    • Only Data Items that are editable at the [Message Start Event (HTTP)] on the receiving side are subject to configuration on the sending side
    • For Title and String-type single line Data Items on the sending side, EL expressions are acceptable
    • If the outgoing HTTP request data does not meet the Data Item constraints, such as required settings and minimum/maximum character length, the Case will not start
      • You can avoid unnecessary errors by setting the Data Item to be sent to the same as the Data Item on the receiving side
  • If you turn on the [P2: Wait for Started Child Case to finish] option on the [Values to receive from Child Case] tab, processing will stay until the started child Case finishes.
    • When the termination of the child Case is detected, it accesses the child Case, acquires data, and saves it in the specified Data Item
    • Only the data permitted by [Data Visibility from Parent Case] in the [Message Start Event (HTTP)] property of the child Case app can be acquired
  • When [Service Task (Start Child Case)] is executed in a debug Case, the started child Case will also be a debug Case
    • (“Questetra-Debug: true” header is added to outgoing requests)
  • There is a possibility that Case not to be started automatically due to the limit on the number of startups on the entire Workflow platform
  • Errors may occur due to HTTP communication limitations when starting a Child Case or retrieving data from a Child Case

See also

  • R2272: Output of Strings via EL syntax
  • M221: Auto Start Triggered by HTTP Request
  • M411: Auto-starting a “Billing App” Triggered by a “Shipping App”
  • Message Start Event (HTTP)
  • Intermediate Error Catch Event (Boundary Type)
  • Discover more from Questetra Support

    Subscribe now to keep reading and get access to the full archive.

    Continue reading