alfresco-ng2-components/docs/start-process.component.md
madhukar23 904b930009 [ADF-2098] Start Process - the default process definition should be selected (#2794)
* [ADF-2098] Start Process - the default process definition should be selected

* made the start-process component to automatically select Process definition if it is the only definition.

* [ADF-2098] Start Process - the default process definition should be selected

* made the start-process component to automatically select a processDef in start-form if there just one processDef present

* [ADF-2098] Start Process - the default process definition should be selected

* made the start-process component to automatically select a processDef in start-form if there just one processDef present

* Update start-process.component.html

* Update start-process.component.ts
2017-12-21 09:34:29 +00:00

1.1 KiB

Start Process component

Displays Start Process, allowing the user to specify some details like process name and process definition, which are the most basic requirement to start a new process instance. The user have to select the process definition from a dropdown if there are more than one process definition available. If there is just one process definition available for the app, then it is auto-selected. There is a error message shown if no process definition is available.

adf-start-process

Basic Usage

<adf-start-process 
    appId="YOUR_APP_ID" >
</adf-start-process>

Properties

Name Description
appId (required): Limit the list of processes which can be started to those contained in the specified app
variables Variables in input to the process RestVariable

Events

Name Description
start Raised when the process start
cancel Raised when the process canceled
error Raised when the start process fail