TobiasGooney
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    ### Module Fields When configuring a subscribe module you will be presented with two sections, one section to configure the input details and another to configure the output. #### Input Configuration | Field | Description | |--|--| | Module Name | A friendly name for the module | | Tenancy Name | Your UiPath Tenacy Name | | Username | The unqiue identifier of newly created job | | Password | A key that relates to the newly created job | | Domain | Represents the name or domain\name of the machine on which Orchestrator is installed, or the user account, such as docteam or uipath.local\docteam. | | Events | The events that you wish to subscribe to. | | Constraints | Filters on the result provided from each subscribed event | | One-Time Use | If the webhook connection should be terminated after first use, this is checked by default. | #### Output Configuration | Field | Description | |--|--| | Variable | A friendly name to help you recongise the module later | | Event Message | The full result as returned from UiPath, this is will be presented as a JSON Object | | Subscription Error Message | The unqiue identifier of newly created job | ### Event Configuration The event field allows you to subscribe to any number of events using a webhook at UiPath, you can find more information about the different types of events [here](https://orchestrator.uipath.com/docs/types-of-events). In order to configure multiple events in within the configuration field you must comma-seperate them. An example can be seen below: `job.created, job.started, job.faulted` During this stage, we're subscribe to all events of a particular type, in order to filter this down further we'll use the constraints field to only show your users specific content. More information on contraints can be found below. ### Constraints Configuration The constraints configuration allows you provide specific filters of what should be shown within your experience, as mentioned previously, in the events field we have subscribed to a number of different events based on their type, in order for us to filter these down further, we can add constraints. This allows you target filters on multiple items that are presented within the JSON provided as an output for event. For example in the event of `job.completed`, the following response would be provided: ``` { "Type": "job.completed", "EventId": "c61eae1c50c74ab192ba49def7311c65", "Timestamp": "2019-07-02T15:24:46.1699691Z", "Job": { "Id": 10976846, "Key": "05dd1643-8e13-410b-aaac-31f2bf8e76e2", "State": "Successful", "StartTime": "2019-07-02T15:24:39.823Z", "EndTime": "2019-07-02T15:24:46.1387195Z", "Info": "Job completed", "OutputArguments": {}, "Robot": { "Id": 187512, "Name": "Developer Robot", "MachineName": "DEVTEST-RPA1" }, "Release": { "Id": 155725, "Key": "53469f90-88ee-4453-99b7-d51779be07bd", "ProcessKey": "FixedDelayProcess" } }, "TenantId": 15331, "OrganizationUnitId": 16696 } ``` For example if we wished to only show messages related to a particular job, we could do this by creating the following constraints: `Type=job.completed,Job.Id=10976846` Note: There is currently a known issue where you must specify a type, this means that you cannot have multiple event types in a single subscription. Similarly if we only wanted to recieve results for a certain robot we could add the following constraints: `Type=job.completed,Robot.Id=187512` ### Variable & Event Message When we look to configure how our event should be shown to a user, we can look at two main fields, first we have variable. Variables are used to capture the result that is been returned from the event. The event response is returned in JSON, we must store this in a variable which this allow us to format it how we want later on. Let's look for example of how we can tie the variable and event message together, in the event we configured a subscription to the following event: `job.completed` and then configured a the constraints to be: `Type=job.completed,Job.Id=10976846` We would be looking for any events that are related to job completions in relation to the job id of 10976846. In the event that we can an event that matches this, the response would look like this: ``` { "Type": "job.completed", "EventId": "c61eae1c50c74ab192ba49def7311c65", "Timestamp": "2019-07-02T15:24:46.1699691Z", "Job": { "Id": 10976846, "Key": "05dd1643-8e13-410b-aaac-31f2bf8e76e2", "State": "Successful", "StartTime": "2019-07-02T15:24:39.823Z", "EndTime": "2019-07-02T15:24:46.1387195Z", "Info": "Job completed", "OutputArguments": {}, "Robot": { "Id": 187512, "Name": "Developer Robot", "MachineName": "DEVTEST-RPA1" }, "Release": { "Id": 155725, "Key": "53469f90-88ee-4453-99b7-d51779be07bd", "ProcessKey": "FixedDelayProcess" } }, "TenantId": 15331, "OrganizationUnitId": 16696 } ``` If we set the response to a variable of `$result` we would be setting `$result` equal the JSON returned in the response. Once we have set the variable this means that we can use it in the Event Response field. Let's look at how we'd configure the Event Response field, Let's assume we wanted to create a message that informed the user of a job completing, with the end message that is provided to the user being the following: > Job 10976846 has completed In order to configure this we would need to configure the following in the event message response field: ``` Job $Result.Job.Id has completed ``` As you can see we can access items in the variable using standard JSON notation, by first having `$Result` equal to entire object return by the API, we can dig deeper by targetting each individual key. In this scenario targetting `Job.Id` within the overall result. ### Subscription Error Message The subscription error message is provided to a user when we were unable to subscribe to any given event that was specified within the subscribe module. This is not linked to the Event Message, and is instead related solely to the subription module action.

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully