Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
5 replies
Subscribers
6 subscribers
Views
3042 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Is there a way to tell if a process model/ task is currently already running for
robertj
over 10 years ago
Is there a way to tell if a process model/ task is currently already running for a given id? Basically i have a Related Task that passes an ID to the process model and creates a task for it, I would like to determine if there is already a process/task associated with the same ID even if it is assigned to somebody else
OriginalPostID-137643
OriginalPostID-137643
Discussion posts and replies are publicly visible
0
Aleksi White
Appian Employee
over 10 years ago
Take a look at the Content Details by UUID plugin:
forum.appian.com/.../summary
You can use the getContentDetailsByID() function to determine if something already exists for the given ID
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ryanh
over 10 years ago
fyi, the plugin above is a great tool to use during code moves between environments. When the inspect or import fails it usually (not always) displays the uuid of the object that the failed import was dependent on. You can create a fast temporary (no need to save it) expression on the exporting server =getcontentdetailsbyuud("uuid") and it will tell you what the uuid points at, i.e. rule XYZ, cdt 123, or process model 567, etc. No need to deploy the plugin to production and it only takes seconds to lookup the missing objects to help with your imports so you can go back and add the missing dependencies to the export application.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
robertj
over 10 years ago
I am not sure I fully understand what that plugin provides...I tried using it at the beginning of my process model with the id variable in a Script Task setting the value to a parameter and the value I get regardless of whether or not the process model has been started already for that particular ID or not is
Content Object [Name: Leader Message Pictures, UUID: SYSTEM_FOLDER_LEADER_MESSAGE_PICTURES, Parent: System Knowledge Center, Parent Id: 2, Type: Folder]
How does it tell me if a task is already created?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Steve
over 10 years ago
Why not just create a task report and use the "Execute Process Report" service to look for the task associated with your process?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
robertj
over 10 years ago
thank you steveh! I found the way to do it through the Execute Process Report
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel