- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2018 09:12 AM
I have an inbound REST API call that sends my instance a user_id. This should start a workflow that will perform several actions.
What is the best way to initiate this? Do I create an event? How do I get the user name information into the workflow?
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2018 10:02 AM
You can trigger your workflow based on conditions. So if you can send specific data in your REST call to match the conditions, then it will start your workflow automatically.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2018 09:23 AM
Hello,
On what table does the workflow executes? You can setup a table with User Id as a column and Table API can be used to add records in it.
Your workflow can start when record is inserted in this table with a valid user or some similar condition to trigger it. In this way you could access the user in your workflow by dot-walking the current record.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2018 09:58 AM
So i can make a table and insert the REST call into that...
Then how to call the workflow? I assume Business Rule in the Advanced (script) section - but I can initiate a specific workflow that can be tracked via context?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2018 10:02 AM