Overview
Contains smart services to allow processes to manage other processes, manage node activity, upgrade process version and update locales.
Example use cases:
Key Features & Functionality
Smart Services included:
All the Smart Services must run in a context with Administrator rights and return a result code indicating whether or not the operation was successful.
Hi Team,
Do we have any documentation to refer to ?
I am trying to use Unarchive Processes smart service and getting result as 1. What does 1 stands for ? Also, I cant see the process getting un-archived.
For some cases, I am getting result as -1. What is -1 ?
Thanks & Regards,
Nafis Khan
Hi Nafis,
This Smart Service is using the unarchiveProcesses method of the ProcessExecutionService interface, which is documented in the Appian Java API docs.
These numbers are values from the ResultList class that correspond to ResultList.CODE_VALID (1) if the action succeeded, or ResultList.CODE_INVALID (-1) if the specified process does not exist. The values for this constant list can be seen here.