Developer Tools

Developer tools are a set of built-in services that are provided by webMethods Integration to help add advanced features to your workflows.

Actions

  • Global Error Handler: Allow the workflow execution to continue or follow a specific path even if an error occurs.
    Note:
    • If the workflow with this action times out for any reason, the action does not manage the workflow execution.
    • If a workflow includes a Global Error Handler action and the workflow times out, the system triggers the action, allowing up to 60 seconds for its execution. After 60 seconds, the system forcibly stops the execution of the Global Error Handler.
    • Regardless of whether the action completes its execution within 60 seconds, the workflow status is marked as Timeout whenever the action is started due to a workflow timeout. Even if the workflow includes the Set Workflow Status as Failed action within the action, the workflow status remains Timeout when the action is triggered due to a workflow timeout.

  • Return data on sync webhook: Run a flow by calling the webhook URL to retrieve its output in the body of the URL
  • Run flow: Include and run an existing flow in your current workflow
  • Format date and time: Customize the date and time to be used in your workflow

    The Format date and time action supports the formats listed here:

    Format Description Example
    MM/DD/YYYY Month/Day/Year (with leading zeros) 11/18/2009
    M/D/YYYY Month/Day/Year (without leading zeros) 2/18/2018
    YYYY/M/D Year/Month/Day (without leading zeros) 2009/11/18
    sM/sD/YYYY (Space) Month/(Space) Day of the Month/Year (with spaces before single-digit values) s1/s9/2006
    YYYY/sM/sD Year/(Space) Month/(Space) Day of the month (with spaces before single-digit values) 2008/s9/s1
    YYYY-MM-DDThh:mm:ssZ ISO 8601 Coordinated Universal Time date and time format 2013-07-16T19:23:51Z
  • Download file: Download a specific file from internet
  • Text to emotive: Convert plain text to emojis
  • Logger: See the output of previous activities in the console log
  • WIKI Page Search: Search any topic on Wikipedia.org
  • Switch: Create multiple execution paths in your workflow
  • Delay: Delay the execution of a specific action for a specified number of seconds
  • Set Workflow Status Failed: Set the status of a workflow to failed irrespective of its actual execution status. You can specify a custom error message to be displayed whenever a workflow fails as a result of this action. Whenever you attach a Global Error Handler to your workflow, it successfully runs the workflow. If you want such workflows to fail, add the Set Workflow Status Failed action inside the Global Error Handler action.
  • Error Handler: Allow the workflow to complete execution, even if one of the actions fails. It is especially useful in critical workflows where you want to prevent errors from stopping the workflow abruptly.

    Error Handler Example

    Imagine a workflow where a new member is added to a specific board in Trello. In this workflow, the member details are posted to a Slack channel, and a notification email is sent to specified recipients.

    To prevent the workflow from failing due to errors in the Post message to Channel action, attach an error handler. It allows the workflow to continue running, even if the action encounters an error.

    Next, create a success path for the Post message to Channel action to define the next action (in this case, send an email) if the Post message to Channel action runs successfully.

    Note: Every action that is attached to an error handler must also have a ‘success path’. If you do not define a success path, the workflow prompts you with an error message, requesting you to provide one for the action.
  • Set Context ID: Define an identifier for a particular workflow. For more information, see Troubleshooting.
    Note:
    • The Context ID must be a string and contain at least one character.

    • To avoid performance issues, do not use the Set Context ID action within a Loop or in excessive frequency.