how to write conditions for create task activity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
I have one query ,can you please help.
I have one workflow attached in sc_task table.i am unable to use catalog task activity in this workflow ,so i have used create task activity and mapped the table as sc_task.now in this create task activity how to write conditions for close complete and close incomplete.
i tried activity.result='3'//close complete and activity.result='4'// close incomplete .But my workflow got stuck ,it is not moving to next activity.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
if this is for catalog item then your workflow should be on sc_req_item table
why it's on sc_task table?
Also why not use flow designer as many customers are moving towards flow instead of workflow?
💡 If my response helped, please mark it as correct ✔️ and close the thread 🔒 — this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
14 hours ago
Yes @Ankur Bawiskar ,we are also migrating workflows to flow designer.this are old workflows ,user raised an incident to fix the issue .so working on it .And ,yes you are right ,workflow need to be on sc_req_item table ,but for our case it is implemented in sc_task.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
14 hours ago
since your workflow triggers on sc_task
what's your actual business requirement?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
13 hours ago
first it will create one sctask ,this is automated task will close depends on API result .after closing of this sctask we are creating another sctask using create task activity ,this is manul fulfillment task .fulfilment team will close this manul task .after closing this task i need to end the this workflow .but it is not happening after manul task close ,the workflow still showing on the same activity.