Message Start Event (HTTP)

Overview

Configs: Common

  • mode_edit_outline Step Name
  • mode_edit_outline Note
Configs: Editing permission

  • Data Items
    • check_circle Editing permission
      • edit(Editable)
      • visibility_off(No display)
Configs: API key

  • mode_edit_outline API key
Reception Parameter, IP address filtering (Opens in new tab)

  • App
    • App name
  • Name
    • Event name
  • Node Number
    • Number
  • URL
    • Starting/Receiving URL
      • https://{YOUR_DOMAIN}/System/Event/MessageStart/{APP_ID}/{NODE_NUMBER}/start?key={API_KEY}
      • ${var[applicationRoot]}System/Event/MessageStart/{APP_ID}/{NODE_NUMBER}/start?key={API_KEY}
  • Allowed Hosts/Networks
    • (Overview of related IP Address Filtering)
  • Reception Parameter
    • format_list_bulleted
      • Reception Parameter Name / Detail / Required / About Parameter Value / Fixed Value
  • Auto-Processing Log
    • view_column (Column)
      • drag_handledelete Date and Time (Default)
      • drag_handledelete Case ID (Default)
      • drag_handledelete Version (Default)
      • drag_handledelete Type (Default)
      • arrow_drop_down Add
        • (Add All)
        • Log ID
        • App ID
        • App Name
        • Node Number
        • Step Name
        • User ID
  • (Logs list)
    • format_list_bulleted
      • Date and Time / Case ID / Version / Type
    • (Display control)
      • arrow_drop_down (View)
        • 10, 20, 50, 100, 200, 500, 1000
      • navigate_before Page navigate_next
Data Visibility from Parent Case

  • Data Items
    • check_circle Data Visibility from Parent Case
      • visibility(Allow)
      • visibility_off(Forbid)

Notes

  • Communication from the external network is not permitted by default on the Workflow platform
    • To allow communication from an external network, change the settings in [IP Address Filtering] < [System Settings] (System Administrator Authority Required)
    • It is possible to set an IP address filter for each trigger URL
  • You can check and copy the launching URL to clipboard in the property screen
  • The parameter and IP filtering details can be checked in the other page after clicking the [URL, Reception Parameter] button in the property screen
  • The value of API key (key) can be set arbitrarily with halfwidth alphanumeric characters, at most 100 in length
    • Even though it is possible to leave the API key blank, please set the API key to tighten the security
  • Numeric-type Data Items in which an arithmetic expression has been set cannot be set to Editable
  • Please make requests with POST (application/x-www-form-urlencoded or multipart/form-data)
  • To send a file, use one of the following methods:
    • Use the pre-upload API to upload the file before starting the Case
      • API endpoint: /System/Event/MessageStart/{app ID}/{node number}/File/upload?key={API key}
      • HTTP method and Content-Type: POST (multipart/form-data)
      • Pass the file ID obtained in the response as the parameter (q_XXX) value of the File-type data item when requesting to start the Case
        • If there are multiple attachments (file IDs), specify multiple parameters (same as for Select-type)
      • The maximum size for a single file is 100MB, but you can send files totalling more than 100MB
    • No pre-uploading is performed, and the file is sent when the Case is started
      • HTTP method and Content-Type: POST (multipart/form-data)
      • The total size of the request must not exceed 100MB
  • If the incoming request has a “Questetra-Debug: true” header, it will start as a debug Case
    • If the caller is a debug Case, or the header has been explicitly added
    • Human Task handling in the debugging Case is assigned to the final editor of the App
  • If successfully processed, the ID (number) of the newly started Case is returned
    • The HTTP response code is 200 and the Content-Type is text/plain
  • If processing fails, an HTTP response code other than 200 is returned
    • An HTTP response code of 400 and an error message in XML format (text/xml) are returned in the following situations
      • The received data does not include content for the required settings in the data item that will store the data, and does not meet the minimum/maximum number of characters and input validation conditions of the item
      • Invalid values for the parameters such as App ID
      • R2212: XML Format of Error Responses for Receiving HTTP Requests
    • HTTP response codes in the 400s are returned, but the response body is not specified in the following cases
      • The received HTTP request has exceeded the data size limit that can be received via HTTP communication
      • The HTTP request format (method/Content-Type) is not the required format
  • When a Case is started by calling this event from a [Throwing Message Intermediate Event (HTTP)], etc. within the same platform, a parent-child relationship is established with the started Case as a child and the calling Case as a parent
    • The child Case has the ID of the parent Case as Case attribute information
  • [Service Task (Start Child Case)] is an item for sending an HTTP request to this Start Event to start a child Case
    • When a [Message Start Event (HTTP)] is set, the corresponding [Service Task (Start Child Case)] will appear in the modeler palette one by one

See also

  • Starting a Case from Outside of Questetra BPM Suite
  • M221: Auto Start Triggered by HTTP Request
  • M411: Auto-starting a “Billing App” Triggered by a “Shipping App”
  • BPMN icons: Service Task (Start Child Case)
  • BPMN icons: Throwing Message Intermediate Event (HTTP)
  • Discover more from Questetra Support

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

    Continue reading