Aras Community
Search
User
Site
Search
User
Blogs
English
German
Japanese
Forums
Applications
Community
Development
Getting Started
Integrations
Aras Labs
Community Projects
Submit a Community Project
More
Cancel
Replies
3 replies
Subscribers
11 subscribers
Views
7829 views
Users
0 members are here
assignment
Workflow
activity
aras labs project
automatic
Options
Share
More
Cancel
Related
How to Automatic Activity by dynamic?
Offline
bryantwu
over 7 years ago
I have a activity(A). If A have assignment then not automatic. If A not have assignment then automatic. How to Automatic Activity by dynamic?
Parents
Offline
bryantwu
over 7 years ago
Eli,Thank you!! I dynamically update workflow assignments(closed) but activity doesn't automatic. It still wait the assignment vote, it doesn't automatic. Item qry1 = this.newItem("Workflow Process Path","get"); qry1.setAttribute("select","id"); qry1.setProperty("source_id",act.getID()); qry1.setProperty("name","Approve"); Item path = qry1.apply(); Item assignment = this.newItem("Activity Assignment",""); assignment.setAction("get"); assignment.setProperty("source_id", act.getID()); assignment = assignment.apply(); assignment.setAction("edit"); assignment.setProperty("closed_by", "30B991F927274FA3829655F50C99472E"); assignment.setProperty("comments", "System_Auto"); assignment.setProperty("path","Approve"); assignment = assignment.apply(); path.setAction("edit"); path.setProperty("is_default","1"); path = path.apply();
Cancel
Vote Up
0
Vote Down
Sign in to reply
Cancel
Reply
Offline
bryantwu
over 7 years ago
Eli,Thank you!! I dynamically update workflow assignments(closed) but activity doesn't automatic. It still wait the assignment vote, it doesn't automatic. Item qry1 = this.newItem("Workflow Process Path","get"); qry1.setAttribute("select","id"); qry1.setProperty("source_id",act.getID()); qry1.setProperty("name","Approve"); Item path = qry1.apply(); Item assignment = this.newItem("Activity Assignment",""); assignment.setAction("get"); assignment.setProperty("source_id", act.getID()); assignment = assignment.apply(); assignment.setAction("edit"); assignment.setProperty("closed_by", "30B991F927274FA3829655F50C99472E"); assignment.setProperty("comments", "System_Auto"); assignment.setProperty("path","Approve"); assignment = assignment.apply(); path.setAction("edit"); path.setProperty("is_default","1"); path = path.apply();
Cancel
Vote Up
0
Vote Down
Sign in to reply
Cancel
Children
No Data