### Process Parameters Configuration Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/process/ProcessStartConfig.html Methods to get and set the process parameters for starting a process. ```APIDOC ### getProcessParameters public ProcessVariable[] getProcessParameters() Get the process parameters that will be used when starting the process. Returns: the process parameters ### setProcessParameters public void setProcessParameters(ProcessVariable[] processParameters) Set the process parameters to use when starting the process. If using a process variable of an Appian type, do not set the value to that object but instead to the corresponding primitive. For instance, do not assign a User process variable a `User` object. Instead, assign that process variable a `String` containing the username. Likewise, assign a process variable of type Group should be assigned a `Long`, etc. The exception to this rule is the People type. Process variables of type People should be assigned a `LocalObject`. Only the values are used for passed parameters, not expressions; expressions must be set on the process model at design time. Parameters: `processParameters` - The following fields must be populated for each `ProcessVariable` object: `name`, `value`, `instanceType` ``` -------------------------------- ### Process Starting Information Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/process/ProcessDesignService.html Method for retrieving information related to starting a process. ```APIDOC ## getProcessStartingInfo$UPDATES ### Description Retrieves information required to start a process. ### Method static final boolean ``` -------------------------------- ### initiateProcess Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/process/ProcessDesignService.html Starts an instance of the given process model with additional configuration to control how the process is started. ```APIDOC ## initiateProcess ### Description Starts an instance of the given process model. ### Method Long ### Parameters #### Path Parameters - **processModelId_** (Long) - Required - id of process model to start - **config** (ProcessStartConfig) - Required - additional configuration to control how the process is started ### Returns - The id of the started process instance. ### Throws - `InvalidProcessModelException` - if the referenced process model does not exist or has been deleted. - `InvalidPriorityException` - if the Priority does not exist - `InvalidVersionException` - if the process model version is invalid. - `PrivilegeException` - if the user does not have permission to perform this action. - `InvalidStateException` - if there is no published version of the specified pm, the published version is disabled, or if the process model contains sub process models that have been disabled or deleted. Note that all sub process models of a published process model must have been published, but they can still be disabled. - `StorageLimitException` - if storage limits are exceeded. - `InvalidUserException` - if any user referenced in any `ProcessVariable` does not exist. - `IllegalArgumentException` - if the `ProcessModel` requires process parameters to start, and the `variables_` parameter is an empty array, or does not contain all necessary process parameters. - `com.appiancorp.asl3.servicefw.connect.ServiceException` - if any system-level error occurs. - `Exception` ``` -------------------------------- ### startQuickTask Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/process/ProcessExecutionService.html Starts a new task from a specified node. If the process is cancelled or completed, it reactivates. For paused processes, a new task is started but will not kick off until the process is resumed. Logic nodes cannot be started. ```APIDOC ## startQuickTask ### Description Starts a new task from the node. If the process to which the node belongs is cancelled or completed, then the process is reactivated. For a paused process, a new task is started but will not be kicked off until the process is resumed. N.B. Logic nodes cannot be started. ### Method `startQuickTask` ### Parameters #### Path Parameters - **processId_** (Long) - Required - The id of the process. - **nodeId_** (Long) - Required - The id of the task's template node, which can be obtained from the `templateId` property of a `TaskSummary` object. ### Returns - `Long` the task id, if the task started correctly, null if the node has spawning or recurrence configured. ### Throws - `InvalidProcessException` - if the process does not exist - `InvalidNodeException` - the node used does not exist or if the node exists (it has a valid template) but does not belong to the given process - `InvalidNodeTypeLogicException` - if the node is a logic node. - `InvalidStateException` - if the process is paused by exception - `PrivilegeException` - if `NodePermissions.isModifyInFlight()` is `false` for the current user - `InvalidNodeTypeRecurringException` - if the node is set to recur - `InvalidNodeMultiplicityException` - if the node cannot be started because its activity chaining settings prohibit multiple instances - `ServiceException` - if any system-level error occurs ``` -------------------------------- ### Process Models I Can Start Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/process/ProcessDesignService.html Retrieves a list of process models that the current user is permitted to start. ```APIDOC ## getProcessModelsICanStart$UPDATES ### Description Retrieves a list of process models that the current user is permitted to start. ### Method static final boolean ### Endpoint N/A (This is a method signature, not an HTTP endpoint) ### Parameters None explicitly defined in this snippet. ### Request Example N/A ### Response N/A ``` -------------------------------- ### ProcessStartingInfo Source: https://docs.appian.com/suite/help/25.4/api/allclasses-index.html Bean for process starting info. ```APIDOC ## ProcessStartingInfo ### Description Bean for process starting info. ### Class ProcessStartingInfo ``` -------------------------------- ### DynamicForm.getInstructions Source: https://docs.appian.com/suite/help/25.4/api/index-all.html Gets the instructions for the form. ```APIDOC ## getInstructions() ### Description Gets the instructions for the form. ### Method Instance method ### Class com.appian.suiteapi.process.forms.DynamicForm ``` -------------------------------- ### getStartIndex (ReportData) Source: https://docs.appian.com/suite/help/25.4/api/index-all.html Gets the start index for ReportData. ```APIDOC ## getStartIndex() ### Description Get the start index. ### Method (Not specified, likely a class method call) ### Endpoint (Not specified) ### Parameters None ### Request Example (Not specified) ### Response (Not specified) ``` -------------------------------- ### Get Default Application Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/applications/ApplicationService.html Gets the default system application. ```APIDOC ## getDefaultApplication ### Description Gets the default system application. ### Method Signature `Long getDefaultApplication()` ``` -------------------------------- ### FormElement.getInstructions Source: https://docs.appian.com/suite/help/25.4/api/index-all.html Gets the instructions for the form element. ```APIDOC ## getInstructions() ### Description Gets the instructions for the form element. ### Method Instance method ### Class com.appian.suiteapi.process.forms.FormElement ``` -------------------------------- ### ProcessStartConfig Methods Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/process/ProcessStartConfig.html Details the methods available for retrieving and setting configurations for starting a process. ```APIDOC ## getDepth() ### Description Get the depth of the current process. ### Method `int getDepth()` ``` ```APIDOC ## getPriorityId() ### Description Get the priority id to use when starting the process. ### Method `Long getPriorityId()` ``` ```APIDOC ## getProcessModelVersion() ### Description Get the process model version to use when starting the process. ### Method `String getProcessModelVersion()` ``` ```APIDOC ## getProcessParameters() ### Description Get the process parameters that will be used when starting the process. ### Method `ProcessVariable[] getProcessParameters()` ``` ```APIDOC ## setDepth(int depth) ### Description Set the current process depth. ### Method `void setDepth(int depth)` ``` ```APIDOC ## setPriorityId(Long priorityId) ### Description Set the priority id to use when starting the process. ### Method `void setPriorityId(Long priorityId)` ``` ```APIDOC ## setProcessModelVersion(String processModelVersion) ### Description Set the process model version to use when starting the process. ### Method `void setProcessModelVersion(String processModelVersion)` ``` ```APIDOC ## setProcessParameters(ProcessVariable[] processParameters) ### Description Set the process parameters to use when starting the process. ### Method `void setProcessParameters(ProcessVariable[] processParameters)` ``` -------------------------------- ### create() Static Method Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/common/ServiceProvider.html Provides a default implementation of all known services. ```APIDOC ## create(ServiceContext ctx) ### Description Provides a default implementation of all the known Services. ### Parameters * **ctx** (ServiceContext) - The ServiceContext to use. ### Returns * Map, Provider> - A map of service classes to their default providers. ### See Also * `ServiceLocator` ``` -------------------------------- ### getPriorityId() Source: https://docs.appian.com/suite/help/25.4/api/index-all.html Get the priority id to use when starting the process. ```APIDOC ## getPriorityId() ### Description Get the priority id to use when starting the process. ### Method Method ### Class com.appiancorp.suiteapi.process.ProcessStartConfig ``` -------------------------------- ### getSpecific() Source: https://docs.appian.com/suite/help/25.4/api/index-all.html Get the start and end times for specific days. ```APIDOC ## getSpecific() ### Description Get the start and end times for specific days. ### Method N/A (Java Method) ### Endpoint N/A ### Parameters None ### Request Example None ### Response None ``` -------------------------------- ### WorkingCalendar.getDefaultDayOfWeek() Source: https://docs.appian.com/suite/help/25.4/api/index-all.html Get the default start and end times for the days of the week. ```APIDOC ## getDefaultDayOfWeek() ### Description Get the default start and end times for the days of the week. ### Method Method ### Class com.appiancorp.suiteapi.process.calendar.WorkingCalendar ``` -------------------------------- ### getDescription Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/content/Content.html Gets the description of the content. If the description starts with "##!", it is internationalized. ```APIDOC ## getDescription ### Description Gets the description. If the description starts with "##!", then it is internationalized and the internationalization value should be looked up in Java. ### Method public String getDescription() ### Returns * the description (String) ``` -------------------------------- ### Constructor Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/process/TaskSummary.html Initializes a new instance of the TaskSummary class. ```APIDOC ## Constructor Details ### `TaskSummary` `public TaskSummary()` ``` -------------------------------- ### startProcessVersion Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/process/ProcessDesignService.html Starts a new instance of a specified process model version. It initializes the process with provided variables and an optional priority. Note: This method is deprecated and `initiateProcess` is recommended. ```APIDOC ## startProcessVersion ### Description Deprecated. Use `initiateProcess(Long, ProcessStartConfig)`, which has better enforcement of required parameters (requires that their values not be null or empty). Starts an instance of the given process model version, using the given variables to initialize state. ### Method Signature `Long startProcessVersion(Long processModelId_, ProcessVariable[] variables_, String version_, Long priorityId_)` ### Parameters * **`processModelId_`** (Long) - ID of the process model to start. * **`variables_`** (ProcessVariable[]) - Parameters for the process model. For Appian types, use primitive equivalents (e.g., String for User, Long for Group). People type requires `LocalObject`. Exception: People type requires `LocalObject`. * **`version_`** (String) - Version of the process model to start. * **`priorityId_`** (Long) - Priority of the process model to start. Use `null` for the default priority. ### Returns * The ID of the started process instance (Long). ### Throws * `InvalidProcessModelException` - If the process model is invalid. * `InvalidPriorityException` - If the priority is invalid. * `InvalidVersionException` - If the version is invalid. * `PrivilegeException` - If the user lacks privileges. * `InvalidStateException` - If the version does not exist. * `StorageLimitException` - If all execution servers are full. * `InvalidUserException` - If a referenced user does not exist. * `IllegalArgumentException` - If the process model requires parameters and `variables_` is null, empty, or incomplete. * `com.appiancorp.asl3.servicefw.connect.ServiceException` - If any system-level error occurs. * `Exception` ``` -------------------------------- ### Get Process Parameters Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/process/ProcessModelFacade.html Retrieves the process parameters used to start a process model. ```APIDOC ## getProcessParameters ### Description Retrieve the process parameters used to start of the process model of the given ID. ### Method Signature `static ProcessVariable[] getProcessParameters(Long pmId, ServiceContext sc)` ### Parameters - **pmId** (Long) - The ID of the process model. - **sc** (ServiceContext) - The service context for the operation. ### Returns - ProcessVariable[] - An array of process variables representing the parameters. ``` -------------------------------- ### startProcess Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/process/ProcessDesignService.html Starts an instance of a process model with given variables. Deprecated, use initiateProcess instead. ```APIDOC ## startProcess ### Description Starts an instance of the given process model, using the given variables to initialize state. Deprecated. Use `initiateProcess(Long, ProcessStartConfig)`, which has better enforcement of required parameters (requires that their values not be null or empty). The following fields must be populated for each `ProcessVariable` object: `key`, `value`, `type`, and `multiple`. ### Method `startProcess(Long processModelId_, ProcessVariable[] variables_) ### Parameters #### Path Parameters - **processModelId_** (Long) - Required - id of process model to start - **variables_** (ProcessVariable[]) - Required - parameters for the process model. If using a process variable of an Appian type, do not set the value to that object but instead to the corresponding primitive. For instance, do not assign a User process variable a `User` object. Instead, assign that process variable a `String` containing the username. Likewise, assign a process variable of type Group should be assigned a `Long`, etc. The exception to this rule is the People type. Process variables of type People should be assigned a `LocalObject`. Only the values are used for passed parameters, not expressions; expressions must be set on the process model at design time. ### Response #### Success Response (200) - **Long** - The id of the started process instance. ### Throws - `InvalidProcessModelException` - if the `ProcessModel` specified by `processModelId_` does not exist - `PrivilegeException` - if the current `User` does not have sufficient privileges to view the `ProcessModel` - `InvalidStateException` - `StorageLimitException` - `InvalidUserException` - `IllegalArgumentException` - `Exception` - if any system-level error occurs ``` -------------------------------- ### Priority ID Configuration Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/process/ProcessStartConfig.html Methods to get and set the priority ID for starting a process. ```APIDOC ## Method Details ### getPriorityId public Long getPriorityId() Get the priority id to use when starting the process. Defaults to null, which means use the default priority id. Returns: the priority id ### setPriorityId public void setPriorityId(Long priorityId) Set the priority id to use when starting the process. Parameters: `priorityId` - the priority id (null means use the default) ``` -------------------------------- ### ProcessStartConfig Constructors Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/process/ProcessStartConfig.html Provides information on how to instantiate a ProcessStartConfig object with different configurations. ```APIDOC ## ProcessStartConfig() ### Description Instantiate a `ProcessStartConfig` using default values for all configurations. ### Constructor `ProcessStartConfig()` ``` ```APIDOC ## ProcessStartConfig(ProcessVariable[] processParameters) ### Description Instantiate a `ProcessStartConfig` with the given process parameters. ### Constructor `ProcessStartConfig(ProcessVariable[] processParameters)` ``` ```APIDOC ## ProcessStartConfig(ProcessVariable[] processParameters, String processModelVersion, Long priorityId) ### Description Instantiate a `ProcessStartConfig` with the given process parameters, process model version and priority id. ### Constructor `ProcessStartConfig(ProcessVariable[] processParameters, String processModelVersion, Long priorityId)` ``` ```APIDOC ## ProcessStartConfig(ProcessVariable[] processParameters, String processModelVersion, Long priorityId, int depth) ### Description Instantiate a `ProcessStartConfig` with the given process parameters, process model version and priority id. ### Constructor `ProcessStartConfig(ProcessVariable[] processParameters, String processModelVersion, Long priorityId, int depth)` ``` -------------------------------- ### getMinuteOfDay Source: https://docs.appian.com/suite/help/25.4/api/index-all.html Get the minute of the day on which this start-end period will start. 0 minutes corresponds to midnight. ```APIDOC ## getMinuteOfDay() ### Description Get the minute of the day on which this start-end period will start. 0 minutes corresponds to midnight. ### Method Method ### Class com.appian.suiteapi.process.calendar.CalendarElement ``` -------------------------------- ### Constructors Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/process/ProcessStartConfig.html Provides constructors to instantiate ProcessStartConfig with different configurations. ```APIDOC ## Constructor Details ### ProcessStartConfig public ProcessStartConfig() Instantiate a `ProcessStartConfig` using default values for all configurations. ### ProcessStartConfig public ProcessStartConfig(ProcessVariable[] processParameters) Instantiate a `ProcessStartConfig` with the given process parameters. Default values will be used for all other configurations. Parameters: `processParameters` - The process parameters to use when starting the process. The following fields must be populated for each `ProcessVariable` object: `name`, `value`, `instanceType`. ### ProcessStartConfig public ProcessStartConfig(ProcessVariable[] processParameters, String processModelVersion, Long priorityId) Instantiate a `ProcessStartConfig` with the given process parameters, process model version and priority id. Parameters: `processParameters` - The process parameters to use when starting the process. The following fields must be populated for each `ProcessVariable` object: `name`, `value`, `instanceType`. `processModelVersion` - The process model version to use when starting the process (use `AbstractProcessModel.LATEST_PUBLISHED_VERSION` to start the latest published version of the model) `priorityId` - The priority id to use when starting the process (null means use the default). ### ProcessStartConfig public ProcessStartConfig(ProcessVariable[] processParameters, String processModelVersion, Long priorityId, int depth) Instantiate a `ProcessStartConfig` with the given process parameters, process model version and priority id. Parameters: `processParameters` - The process parameters to use when starting the process. The following fields must be populated for each `ProcessVariable` object: `name`, `value`, `instanceType`. `processModelVersion` - The process model version to use when starting the process (use `AbstractProcessModel.LATEST_PUBLISHED_VERSION` to start the latest published version of the model) `priorityId` - The priority id to use when starting the process (null means use the default). `depth` - The current subprocess depth. Top level is 0 ``` -------------------------------- ### Get Tree At Folder Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/portal/portlets/links/LinksService.html Retrieves the folder tree starting from the specified folder. Note: This method is deprecated. ```APIDOC ## getTreeAtFolder ### Description Get the folder tree at a `Folder`. ### Method getTreeAtFolder ### Parameters - **folderId_** (Long) - The ID of the root folder for the tree ### Response - **Success Response (Folder)** - The root folder of the tree. ``` -------------------------------- ### getApplicationActions() Source: https://docs.appian.com/suite/help/25.4/api/index-all.html Gets the application actions. ```APIDOC ## getApplicationActions() ### Description Gets the application actions. ### Method Not specified (likely a Java method call) ### Endpoint Not applicable (Java method) ### Parameters None ### Request Example Not applicable ### Response - **Success Response**: A collection of application actions. ### Response Example Not applicable ``` -------------------------------- ### Process Model Version Configuration Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/process/ProcessStartConfig.html Methods to get and set the process model version for starting a process. ```APIDOC ### getProcessModelVersion public String getProcessModelVersion() Get the process model version to use when starting the process. Defaults to the latest published version if not set. Returns: the process model version ### setProcessModelVersion public void setProcessModelVersion(String processModelVersion) Set the process model version to use when starting the process. Parameters: `processModelVersion` - the process model version (use `AbstractProcessModel.LATEST_PUBLISHED_VERSION` to start the latest published version of the model) ``` -------------------------------- ### getPrefix() Source: https://docs.appian.com/suite/help/25.4/api/index-all.html Gets the prefix of the application. ```APIDOC ## getPrefix() ### Description Gets the prefix of the application as a `String`. ### Method Method ### Response #### Success Response (200) - **String** (String) - The application prefix. ``` -------------------------------- ### Process Timing Information Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/process/ProcessSummary.html Methods to get and set the elapsed time, start time, and end time of a process. ```APIDOC ## getElapsedMilliseconds ### Description Retrieves the number of milliseconds since the process has started. ### Method public Long getElapsedMilliseconds() ### Returns number of milliseconds. ## setElapsedMilliseconds ### Description Sets the number of milliseconds since the process has started. ### Method public void setElapsedMilliseconds(Long milliseconds_) ### Parameters - `milliseconds_` (Long) - elapsed milliseconds ## getEndTime ### Description Returns the time at which the process ended. Null if the process is currently active. ### Method public Timestamp getEndTime() ### Returns Returns the timestamp of the process end time. ## setEndTime ### Description Sets the time at which the process ended. ### Method public void setEndTime(Timestamp time_) ### Parameters - `time_` (Timestamp) - the end timestamp of the process. ## getStartTime ### Description Retrieves the time at which the process started. ### Method public Timestamp getStartTime() ### Returns timestamp of the process start time. ## setStartTime ### Description Sets the time at which the process started. ### Method public void setStartTime(Timestamp time_) ### Parameters - `time_` (Timestamp) - timestamp of the process start time. ``` -------------------------------- ### ProcessStartingInfo Constructor Source: https://docs.appian.com/suite/help/25.4/api/index-all.html Constructor for the ProcessStartingInfo class. ```APIDOC ## ProcessStartingInfo() ### Description Constructor for class com.appiancorp.suiteapi.process.webservices.ProcessStartingInfo ### Method Constructor ### Endpoint N/A ### Parameters None ``` -------------------------------- ### getParameters Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/portal/Portlet.html Gets the map of name-value pair parameters for this portlet. Names must be single words, starting with a letter and containing only _, numbers and letters in the basic US character set. Values should be of type String, though future implementations (and experimentally, the current one) may allow other datatypes. This method is deprecated. ```APIDOC ## getParameters public Map getParameters() Deprecated. The map of name-value pair parameters for this portlet. Names must be single words, starting with a letter and containing only _, numbers and letters in the basic US character set. Values should be of type String, though future implementations (and experimentally, the current one) may allow other datatypes. See Also: * `PortletService.updatePortletParameters(java.lang.Long, java.util.Map)` ``` -------------------------------- ### startProcess Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/process/test/ProcessController.html Starts a new process instance based on a given Process Model ID and an array of Process Variables. ```APIDOC ## startProcess ### Description Starts the given ProcessModel using the given ProcessVariables. ### Method `Long startProcess(Long processModelId, ProcessVariable[] pvs)` ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body - **processModelId** (Long) - The ID of the process model to start. - **pvs** (ProcessVariable[]) - An array of Process Variables to be used when starting the process. ### Request Example ```json { "processModelId": 12345, "pvs": [ {"name": "variable1", "value": "value1"}, {"name": "variable2", "value": 100} ] } ``` ### Response #### Success Response (200) - **processId** (Long) - The ID of the newly started process. #### Response Example ```json { "processId": 67890 } ``` ### Throws - `Exception` - `IllegalArgumentException` - `InvalidUserException` - `StorageLimitException` - `InvalidStateException` - `PrivilegeException` - `InvalidProcessModelException` ``` -------------------------------- ### Get Version Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/collaboration/DocumentService.html Gets a specific version of a document. ```APIDOC ## getVersion ### Description Gets a specific version of a document. ### Method Signature `Document getVersion(Long doid_, Integer versionId_)` ### Parameters * `doid_` (Long) - The ID of the document. * `versionId_` (Integer) - The ID of the version to retrieve. ### Returns * `Document` - The requested document version. ### Deprecated This method is deprecated. ``` -------------------------------- ### Application Constructor Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/applications/Application.html Initializes a new instance of the Application class. ```APIDOC ## Application() ### Description Initializes a new instance of the Application class. ### Constructor public Application() ``` -------------------------------- ### Get Criteria Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/common/query/GenericQuery.html Gets the Criteria associated with the GenericQuery. ```APIDOC ## getCriteria() ### Description Gets the `Criteria`. ### Method ```java public Criteria getCriteria() ``` ### Returns the `Criteria` ``` -------------------------------- ### Constructor Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/process/RuntimeProcessNode.html Initializes a new instance of the RuntimeProcessNode class. ```APIDOC ## RuntimeProcessNode() ### Description Initializes a new instance of the RuntimeProcessNode class. ### Method `public RuntimeProcessNode()` ``` -------------------------------- ### Spawning Methods Source: https://docs.appian.com/suite/help/25.4/api/index-all.html Returns the Instances configuration. ```APIDOC ## getInstances() ### Description Returns the `Instances` configuration. ### Method Method ### Response #### Success Response (200) - **instances** (Instances) - Description ``` -------------------------------- ### Get External Filename Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/content/ContentService.html Gets the external filename of a document. ```APIDOC ## getExternalFilename ### Description Gets the external filename (the name that the file would be saved as by the client, or the name within a .zip file) of a document. ### Method Signature `String getExternalFilename(Long id_)` ### Parameters * **id_** (Long) - The ID of the document. ``` -------------------------------- ### Get External Filenames Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/content/ContentService.html Gets the external filenames of a set of documents. ```APIDOC ## getExternalFilenames ### Description Gets the external filenames (the name that the file would be saved as by the client, or the name within a .zip file) of a set of document. ### Method Signature `String[] getExternalFilenames(Long[] ids_)` ### Parameters * **ids_** (Long[]) - An array of document IDs. ``` -------------------------------- ### Constructor Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/process/security/ProcessApplicationPermissions.html Initializes a new instance of the ProcessApplicationPermissions class. ```APIDOC ## ProcessApplicationPermissions ### Description Initializes a new instance of the ProcessApplicationPermissions class. ### Method public ProcessApplicationPermissions() ``` -------------------------------- ### startTasks Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/process/ProcessExecutionService.html Attempts to start multiple tasks for a given process and returns an array of result codes indicating the outcome for each task. It can also cancel and resolve existing instances of nodes that were paused by exception. Logic nodes cannot be started. ```APIDOC ## startTasks ### Description Tries to start the tasks, and returns an array of result codes on whether the operation was successful or an error had occurred. Will cancel and resolve existing instances of the node that were paused by exception. N.B. Logic nodes cannot be started. ### Method `startTasks` ### Parameters #### Path Parameters - **processId_** (Long) - Required - The id of the process. - **nodeIds_** (Long[]) - Required - The ids of the tasks to start. ### Returns - Integer[] - an array of result codes. The result codes can be: `RESULT_CODE_SUCCESS` if the action succeeded, `RESULT_CODE_INVALID_TASK` if the node does not exist, `RESULT_CODE_INSUFFICIENT_PRIVILEGES` if the user does not have permission, or `RESULT_CODE_INVALID_STATE` if it is a logic node `RESULT_CODE_NODE_MULTIPLICITY` if the node cannot be started `RESULT_CODE_INVALID_NODE` if the node is invalid because its activity chaining settings prohibit multiple instances ### Throws - `InvalidProcessException` - if the process does not exist ``` -------------------------------- ### Get Attachments for Task Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/process/ProcessExecutionService.html Gets all attachments for a given task and its related process. ```APIDOC ## getAttachmentsForTask ### Description Gets all the attachments for a given task and its related process. ### Method Signature `Attachment[] getAttachmentsForTask(Long taskId_)` ### Parameters #### Path Parameters - `taskId_` (Long) - The ID of the task. ### Returns The attachments. ### Throws - `InvalidActivityException` - if the task specified does not exist. - `PrivilegeException` - if the current user does not have privileges to perform this action. - `InvalidProcessException` - `ServiceException` - if any system-level error occurs. - `InvalidOperationException` ``` -------------------------------- ### getProcessStartingInfo Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/process/ProcessDesignService.html Retrieves information required to start a process. ```APIDOC ## getProcessStartingInfo ### Description Retrieves information required to start a process. ### Method Not specified (assumed to be a method call in an SDK) ### Endpoint Not applicable (SDK method) ### Response #### Success Response - **ProcessStartingInfo** - Information about starting a process. ``` -------------------------------- ### getOptions Method Source: https://docs.appian.com/suite/help/25.4/api/com/appiancorp/suiteapi/common/cli/Configurable.html Retrieves a list of available configuration options. ```APIDOC ## getOptions ### Description Retrieves a list of available configuration options. ### Method List