You are viewing limited content. For full access, please sign in.

Question

Question

looping in forms

asked on March 4, 2015 Show version history

I need to loop through the user selected values from drop down list and in each loop i need to send an email notification or perform another activity, same i can achieve by using each row activity in WF, but i need to do the same in LF Forms. for e.g. as below

LF folder name: finance and its owner is Ahmed

                          Accounts and its owner is Masood

                          Marketing and its owner is Omar

Applicants manager is Ahmed.

I need to loop through the above three selected choices and each need to check if the applicants manager is equal to the owner or not and send notification accordingly for all the three folders selected as above.

0 0

Replies

replied on March 5, 2015

Hey Afnan,

 

I think you will struggle to get Forms to do this work for you, but that's fine because as you mentioned this is something that Workflow can handle.

What I would recommend is using the Invoke Workflow activity within the Forms Process Modeler, so that once this Form is submitted/approved, a Workflow will begin, grab the Forms content (specifically the Applicants Manager value. Then you can do a database lookup to return the Folder Name within the row containing the Applicants Manager value.

This lookup will either return a single value (for example it will return Accounts if the Applicants Manager is Masood) or it will return no value. Therefore setup a conditional decision where the first branch handles a no-value scenario. The remaining branches should be designed to send those notifications.

Those notifications can contain anything from the Form, but also the Repository, etc. as you would expect from Workflow. However, there is currently no method of retrieving a User Task URL and sending that out using Workflow. (ie. when you send a User Task via Forms we can send the URL to the Task itself, however Workflow will be unable to do the same thing).

Let me know if you would like more assistance on this issue.

Thanks, 

0 0
replied on March 10, 2015

I have got the idea here but my issue is that the client is very much interested and convinced with the LF Forms style Approval process not what is being offered in LF Workflow in which the user has to open the LF Client and change the status of the field to approved/rejected, it should simply be done through a email link wherein the actual forms opens and after reviewing at the bottom the user can select either options. Apart from the main issue is the the user in question, since the user is an Executive Director, we need to provide them with the most professional and simplest way of the Business Process to the top management, so i need to know the alternate way to achieve this task.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.