Message Start Event (HTTP)

Message Start Event (HTTP)

Issues a URL that awaits an HTTP request. Starts a new Process automatically when an HTTP request is received. Capable of inserting values accepted as receive parameters to Business Data.

Configs: Common
  • Step Name
  • Note
Configs: Editing permission
  • Data Items
    • Editing permission
      • (Editable)
      • (No display)
Configs: API key
  • 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
    • Reception Parameter Name / Detail / Required / About Parameter Value / Fixed Value
Auto-Processing Log
  • view_column (Column)
    • drag_handledelete Date and Time (Default)
    • drag_handledelete Process ID (Default)
    • drag_handledelete Version (Default)
    • drag_handledelete Type (Default)
    • Add
      • (Add All)
      • Log ID
      • App ID
      • App Name
      • Node Number
      • Step Name
      • User ID
(Logs list)
    • Date and Time / Process ID / Version / Type
  • (Display control)
    • (View)
      • 10, 20, 50, 100, 200, 500, 1000
    • Page
Data Visibility from Parent Process
  • Data Item
    • Data Visibility from Parent Process
      • (Allow)
      • (Forbid)

Capture

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 process
      • 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 process
        • 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 process 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 process
    • If the caller is a debug process, or the header has been explicitly added
    • Human Task handling in the debugging Process is assigned to the final editor of the App
  • If successfully processed, the ID (number) of the newly started process 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 cases
    • 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 Process 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 Process as a child and the calling Process as a parent
    • The child Process has the ID of the parent Process as Process attribute information
  • [Service Task (Start Child Process)] is an item for sending an HTTP request to this Start Event to start a child Process
    • When a [Message Start Event (HTTP)] is set, the corresponding [Service Task (Start Child Process)] will appear in the modeler palette one by one

See also

Scroll to Top

Discover more from Questetra Support

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

Continue reading