- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2024 04:44 AM
I have a workflow in which it needs to pause until the requestor respnds to email notification with attachments, then move the workflow to the next task. Is there a way to use "If" activity todo this with a script? Is there another activity that can put the condition in?
Looking for help on this one as I have found nothing on the internet or away todo it though testing.
Eric
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2024 09:31 AM
Since you are using an inbound action you could have it set the value of a field or variable, then in the workflow you would just need a wait for activity until that field/variable is not empty. You could also have a Business Rule on the attachment table that updates a field or variable under certain conditions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2024 04:59 AM
Is the customer replying to the email, then an inbound action is adding the attachments, or are they being added to the record manually? The sc_req_item record is updated when an attachment is added, so that will cause the workflow to 'nudge'. I'm thinking of a loop - wait for the record to be updated, then an if script to check for an attachment, resulting in going back to the wait for, or on to the next activity.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2024 05:00 AM
The reqeustor would be replying to the notification from Servicenow with attachments, once they do that the workflow would move to next stage for review. Currently i have a task at a group "pending requestor to add attachements" which does not work well from a management of queue stand point.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2024 09:31 AM
Since you are using an inbound action you could have it set the value of a field or variable, then in the workflow you would just need a wait for activity until that field/variable is not empty. You could also have a Business Rule on the attachment table that updates a field or variable under certain conditions.