- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2018 10:51 PM
Hello Folks,
I have been developing a workflow and i am stuck in a situation .i.e. when "Task is created the state changes to Work in progress from Open".
Actually I have the same activity being used for multiple conditions and in some cases the task activity state are working as desired i.e. it is in Open state until the user / fulfiller updates the task.
Below is the script activity mentioned For Task:-
task.short_description='US MBS/Oracle User Access Request Form + iExpense for '+current.variables.Eid12+' ('+current.variables.requester_name.name+')';
task.description ='GBL: '+current.variables.gbl12.getDisplayValue() + '\n User Type: '+current.variables.user_type12.getDisplayValue()+'\n Request Type: '+ current.variables.request_type12.getDisplayValue()+'\n SpendSmart Approver: '+current.variables.request_approver12.name;
task.state=2;
I have even tried setting the task state using the "Populate take Variables " in which we can directly set the values on task activity.
Note: there is no business rule written to change the state of task activity when it is created.
Thanks and Advance , appreciate your help .
PFA name " Sate Changes" to find how I have tried setting the task state using the "Populate take Variables " in which we can directly set the values on task activity.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2018 11:05 AM
sanjivmeher I deleted the existing the workflow and created the new one almost same set up. The issue related to Task state automatically going to work in progress was resolved but what was the actual issue I couldn't conclude. This was rework but it worked.
By the way thanks for your valuable assistance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2018 11:08 AM
Did you check if there is some BR running globally. Or is it only this RITM/task realted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2018 11:14 AM
I saw all the Business rule but din't find any. When I had developed this catalog item and it went for first round UAT testing there wasn't sun issues later on there we were some changes made on this catalog item and its workflow , after that I have been facing such issue.
But anyways it has finally been resolved