Related Topics
ProjectActivityUser Class
This object represents a user in a Process Timeline Activity (Process Task).
Properties
PROPERTY NAME |
DATA TYPE |
DESCRIPTION |
---|---|---|
ACTID |
String |
The ID of the Project activity |
ACTINSTID |
String |
The ID of the Activity Instance |
ACTUID |
String |
The ID of the Activity User |
ACTUINSTID |
String |
The ID of the Activity User Instance |
IconNumber |
String |
The icon associated with the chosen result |
PRID |
String |
The ID of the Project Definition |
PRINSTID |
String |
The Project Instance ID |
ResultName |
String |
Result of the activity |
RTID |
String |
ID of the activity result |
SubTaskName |
String |
The optional name of the sub task assigned to this Task User |
Methods


This API will cancel the task for the particular user which this object represents
Parameters
Comments: (optional) Comments to add to the completion action.
Admin: (optional) The UID of the (administrative) User who authorized the Task’s cancellation.
Returns
Boolean: True if the operation succeeds.
Example
// Cancel the User's Task, adding a comment
CurrentProjectActivityUser.CancelUser("Programmatically canceling user");


This API will complete the task for the particular user which this object represents
Parameters
Selection: (optional) The branch to take on completion.
Comments: (optional) Comments to add to the completion action.
Returns
Boolean: True if the operation succeeds.
Example
// Complete the User's Task, taking the "Approve" branch
CurrentProjectActivityUser.CompleteUser("Approve");


This API will convert a SysVar string in the context of the ProcessTaskUser.
Parameters
String: The SysVar string to convert.
Returns
String: The expansion of the SysVar string.
Example
// Create the string to append the current object name to the
// string "Name: "
var strNew =
CurrentProjectActivityUser.ConvertSysVarsInString("Name: {OBJ_NAME}");
Documentation Feedback and Questions
If you notice some way that this document can be improved, we're happy to hear your suggestions. Similarly, if you can't find an answer you're looking for, ask it via feedback. Simply click on the button below to provide us with your feedback or ask a question. Please remember, though, that not every issue can be addressed through documentation. So, if you have a specific technical issue with Process Director, please open a support ticket.