Designer Sample Orchestration Project

Designer Sample Orchestration Project

Creating a Request Form

Creating a Request Form

Before deploying the process, you must create a request form that you can use to invoke the process on the server. Two steps are required here:
  1. Create the Request form.
  2. Create a Process Central Configuration (
    .avcconfig
    ) file that defines the structure and contents of the application.

Step 1: Create the Request Form

  1. In the Project Explorer, create a sub-folder under the
    form
    folder called
    request
    .
  2. In the Project Explorer, right-click on the
    form
    folder and select
    New > Process Request Form
    .
  3. Expand the LoanProcess port type and select the request operation as shown here:
  4. Press
    Next
    .
  5. Name the form
    HumanApproval.html
    .
  6. Press
    Finish
    .

Step 2: Create the Process Central Configuration

  1. In the Project Explorer, right-click on the
    deploy
    folder and select
    New > Central Configuration
    . Enter a value of
    HumanApproval.avcconfig
    for the file name and press
    Finish
    .
  2. In the Source tab, scroll down to the Requests section and replace the
    <tns:requestCategoryDefs>
    with this code:
    <!-- Requests - example note that the values should be replaced with those from your application --> <tns:requestCategoryDefs> <tns:requestCategoryDef id="education_category" name="Tutorial and Samples"> <avccom:requestDef id="hac_request" name="Human Approval Form"> <avccom:allowedRoles> <avccom:role>loanreps</avccom:role> <avccom:role>loanmgrs</avccom:role> </avccom:allowedRoles> <avccom:description>Submit loan approval request (Human Approval Sample).</avccom:description> <avccom:formLocation>project:/HumanApproval/form/request/HumanApproval.html</avccom:formLocation> </avccom:requestDef> </tns:requestCategoryDef> </tns:requestCategoryDefs>
  3. This will deploy the
    HumanApproval.html
    file to Process Central and allow access to anyone with the loanreps or loanmgrs role. The file should look similar to this:
  4. Save the file.
  5. The request form and the Process Central configuration file can now be deployed. Instructions for deploying can be found in the Human Approval Completed Orchestration Process template.

0 COMMENTS

We’d like to hear from you!