Using Form Data Model Service as Step in AEM 6.5 Workflow using-form-data-model-service-as-step-in-workflow

Starting with AEM Forms 6.4, we now have the ability to use Form Data Model Service as part of AEM Workflow. The following video walks thru the steps needed to configure Form Data Model step in AEM Workflow

![NOTE]The capability demonstrated in this video requires AEM Forms 6.5.1

To test this capability on your server, follow the below instructions

  • Setup tomcat with SampleRest.war file as described here.The war file deployed in Tomcat has the code to return the applicant’s credit score.The credit score is random number between 200 and 800

  • Import the assets into AEM using package manager

  • The package contains the following:

    • Workflow model which uses FDM step.
    • Form Data Model that is used in the FDM step.
    • Adaptive form to trigger the workflow on submission.
  • Open the MortgageApplicationForm. Fill in the details and submit. On the form submission the loanapplication workflow is triggered.

workflow .
The workflow utilizes Or Split component to route the application to admin if the credit score is over 500. If the credit score is less than 500 the application is routed to cavery.

recommendation-more-help
8de24117-1378-413c-a581-01e660b7163e