Hello Rekha,
You do not need to examine the approval of the course from the workflow. You already have exclusive gateways in your Laserfiche Forms Process Designer that can choose what route to follow in case certain values were filled in your form.
Using workflow you can only retrieve the filled values from your forms and execute actions that cannot be done by Laserfiche Forms. For example: routing an entry in Laserfiche from one folder to another, renaming an entry etc...
In your case you can use workflow to execute the actions needed on each step. So what i would do is create two workflows, one workflow for the approval and another one for the rejection.
Moreover, regarding the pending status update, i also prefer to create another workflow to set the status of the student's request to pending. This might seem a lot of workflows to create, but at least you organized your work in a way that your future troubleshooting will be much easier.
So again, i suggest the following:
- one workflow responsible for setting the value of the request status to pending. you just have to use the retrieve business process activity to import all the values of the form. and do the necessary actions on your database.
- After that, Using Laserfiche Forms exclusive gateways, split your process into two routes:
- One route handles what happened upon approval. Here you can create a workflow to process your data and do the necessary actions after approval.
- another route that handles rejection. Here you can create a workflow to process your data and do the necessary actions after rejections.
And one more thing, a workflow started by Laserfiche forms wont have an entry associated to it. in other words, workflows started on entry actions withing the Laserfiche repository are the ones that will have a starting entry to work with. And here we mean by entry any file located inside the Laserfiche repository (folder or any type of document).
For more information on exclusive gateways, refer to Laserfiche Web help site. But i think it is self explanatory whenever you see it in Laserfiche Forms.