Use Case B
The user's aim in this case is to create a most complex workflow that cannot be achieved with the existing connector and extender set. Configuring this workflow requires basic programming skills and a full understanding of what existing eCopy Connectors are capable of.
Perform the following steps to configure a storage location specific scenario:
- Launch the Scriptable Workflow in Administration Console.
- Navigate to the Initialize Form tab.
-
Modify the default script in accordance with your specific form initialization needs.
public Result EvalCode(ICommunicationObject io) { //add your form initialization code here return Result.Ok; }
- Navigate to the Form Designer tab.
- Drag-and-drop the required control types to the Scriptable form in the desired order.
- Specify the event handler for each control by clicking the lightning icon and selecting the relevant event handler (OnEnter, and so on).
- Navigate to the Validate Form Data tab.
-
Modify the default script in accordance with your specific form validation needs.
public Result EvalCode(ICommunicationObject io) { //add your form validation code here return Result.Finished; }
- Navigate to the Store Workflow Results tab.
-
Modify the default script in accordance with your specific storage needs.
public Result EvalCode(ICommunicationObject io) { //add your workflow result storing code here return Result.Ok; }
- Configure the Workflow section in the Settings pane to arrange how the workflow items will follow each other.
- Specify one or more Document services, configuring their position in the Order of Operations dialog.
- Save your workflow by clicking the Save Current Profile button.
- Launch Data Publishing Mapper and map the previously configured controls in the Published Key list with the Connector Keys in the Connector Key list.
- Select the Devices tab and click Simulator to open the Configure Connectors for Device window.
- Locate Scriptable in the list and clear the check box of the profile you want to work with on the device.