To create a step to enter a specific data set, open the data entry step wizard.
After the basic step properties have been determined, click the Next button on the first page of the wizard.
The next wizard page is Step Description:
Determine the following for the Data Entry step on the Step Description page:
Process Authorization Object. The field is mandatory. Select the required object from the process authorization objects drop-down list.
If there is no appropriate authorization object, click the All Process Authorization Objects button. The Set Up Process Authorization Objects dialog box opens where an authorization object can be added.
NOTE. To correctly execute the step and display processes tree in data entry form, selection by dimensions of authorization object must be fully contained in selection by dimensions of data entry form that is used in the process step.
Owner Role. The field is mandatory. In the drop-down list select the owner role. The list contains roles of users specified in the authorization object.
If there is no required group of users in the list, click the Open Security Manager button. The dialog box of security manager of Foresight Analytics Platform opens, which enables the user to create the required group of users.
The selected user will get default access to read and write to data segment.
Send Edit Permissions. Select the Send Edit Permissions checkbox and select the group or user in the list to assign read and write permissions to data segment. The checkbox is deselected by default. When the checkbox is selected, the group or user selected in the Owner Role box get read-only permissions.
Data Entry Form. The field is mandatory. In the drop-down list select one or several data entry forms, in which the step execution/rejection result will be saved. The list contains repository objects tree where data entry forms and folders containing them are only displayed. On selecting data entry form, you can use search.
If data from one authorization object is used in several data entry forms, in the drop-down list select all data entry forms, in which the step execution/rejection result should be saved. Data entry and approval is available in any of the specified data entry forms.
NOTE. To correctly execute the step and display processes tree in data entry form – selection by dimension of data entry form should fully contain selection by dimensions of authorization object that is used in process step.
Default Data Entry Form. When several data entry forms are selected, in the drop-down list select the data entry form to be used on process step execution. To edit the selected data entry form, click the button. The data entry form will be opened for edit.
Enter a numeric value of step execution time and select a time measurement unit in the list:
Minute.
Hour.
Day (default).
Week.
Month.
Quarter.
Half-year.
Year.
To determine time, by which step must be finished, select the Finish Step By checkbox. When the "minutes" or "hours" time measurement units are selected, this box is hidden.
If the step is not finished by the scheduled execution period, the step status becomes Expired.
The step execution period impacts the whole process execution period, which is determined on starting process for execution.
Step Description. The box is optional. A text box for entering a comment for a step.
After the parameters have been determined on the Step Description page, click the Next button.
The next wizard page is Manage Parameters:
Data entry form and process parameters must be linked to open data entry form with the same parameters as the process step started for execution. Determine Correspondence Between Data Entry Form and Process Parameters on the Manage Parameters page:
To automatically copy parameter settings from authorization objects, click the Fill from Authorization Object button.
Undefined. In this case data entry form is opened with parameter value specified in data entry form by default:
Bind. In this case the process parameter corresponding to data entry form parameter is selected:
Select the dictionary attribute to be send as parameter to data entry form if required.
Fix. In this case, the specified values are selected in the drop-down list, in order to send a limited list of parameter values to data entry form:
If there is no required process parameter, click the Process Parameters button. The Process Settings and Parameters dialog box opens, in which a process parameter can be added.
NOTE. On setting up links between data entry form and process parameters, use dictionaries of one type. For example, do not link dictionary with text elements and calendar dictionary. In this case, after the process is started for execution, the monitoring window displays error message.
After the parameters have been determined on the Manage Parameters page, click the Next button.
The next wizard page is Events:
Set up automatically executed actions launched on step execution start or end.
On generating a list of executed actions, select a tab with event first:
Before Execution. The list of actions will be started before executing the current step in the specified order.
After Execution. The list of actions will be started after executing the current step in the specified order.
On Rejection. The list of actions will be started on the current step rejection. The list is available for steps with manual execution. If the step is executed automatically, the tab is not displayed.
On Failures. The list of actions will be started on failure to execute the current step in the specified order. To execute the actions:
When the server execution of processes is selected, select the Check Steps Execution Failures checkbox on the Scheduler page of the Parameters Setup and Business Process Management dialog box and set check frequency.
When the client execution of processes is selected, select the Check Failures item on the Administration page of the Parameters Setup and Business Process Management dialog box.
To add an event, click the button on the ribbon. The number of added actions is unlimited.
Actions to be added:
. Execute Fore method. In the right part of the window select:
Unit. In the drop-down list select a unit written in the Fore language, the list contains all repository units and folders containing units. Search by unit name is available.
To edit the selected unit, click the button.
To create a unit, click the button.
Method. In the drop-down list select a method. The list contains all unit methods corresponding to the signature:
Sub <Fore-method name>(Sender: IBProcessInstance; Args: IBProcessStepStateEventArgs);
Parameter:
Sender. Process instance.
Args. Event information: step, step old state, new state.
To refresh the methods list, click the button.
To copy method signature, click the button.
. Send Email. In the right part of the window select:
To; Copy; Bcc. The recipient email is entered manually, using option of copy/paste from clipboard.
Subject. The email subject is entered manually, using option of copy/paste from clipboard.
Contents. The contents is entered manually using the option of variables values substitution with step parameters, links to step objects to view in the web application, file attachment.
To change order of operations execution, use the / buttons on the toolbar, to delete use the button.
The list of automatically executed actions can be empty.
Click the Finish button to exit the wizard.
After creating the process steps, set up process steps execution conditions.
See also: