Jump to content

Multiple choice custom forms


Recommended Posts

Hello,

I have a Progressive Capture that asks users what Applications they required via the Service Request Catalog. It's a multi-choice check-box list.

I have set up a Business Process as a test to see if i could assign certain users to a human task based on the choices they have selected... but i'm not having any luck getting it to work.

The Business Process

post-12454-0-42912200-1462891784.png

Get Request Questions from Form ID app_List

post-12454-0-70848000-1462891783.png

Decision Custom Expression

post-12454-0-93967900-1462891783.png

Application List

post-12454-0-75257900-1462891782.png

I've tried different combinations for the decision results but no matter what I do, i always get the GotoIf error when creating the call...

Outcome == "Application 1"

Answer 1 == "Application 1"

Answer 1 == "Application 1"

How can i make the decision node look for ALL the answers in from the Multiple Choices?

If possible can we have a unique decision node that will fire the other nodes if the results are ticked? A bit like the parallel processing node, maybe we could have a parallel decision node?

Many thanks,

Samuel.

Link to comment
Share on other sites

Hi Samuel

I think, I may be wrong, that as you are using parallel processing it is looking at completing all 3 branches. I have included a screen shot of what I would try.

post-12043-0-26752900-1462972253.png

I hope this helps

Link to comment
Share on other sites

Hi Kelvin,

Thanks for your response. I did try the above originally but it only works if a user selects 1 check-box from the list. If we select multiple check-boxes it doesn't fire any events and goes through the "No Match" route.

Single Selection Expectation (Works)

When you choose a single application then press next it will result in the application that you chosen... the decision node would then be able match the result:

  • Selection:post-12454-0-99735300-1463059248.png

  • Result:post-12454-0-64399900-1463059248.png

Multi Selection Expectation (Doesn't Work)

But if you choose multiple choices, then press next it will result with both applications seperated by a comma. The decision node will fire "No Match" because i'm searching only for single results, not combined results.

  • Selection:post-12454-0-82210900-1463059248.png

  • Result:post-12454-0-47406000-1463059248.png

All i wished to be able do is for the Business Process to detect each choice selected, then action on each of them seperately.

This issue also occurs in the Progressive Capture GotoIf node.

Thanks,

Samuel.

Link to comment
Share on other sites

Hi Kelvin,

Its a step closer that's for sure, but still having an issue.

Progressive Capture

post-12454-0-54372300-1463064592.png

I currently have a Custom Form with seperate YesNo dropdown boxes for each application:

post-12454-0-34154300-1463064592.png

For each "Yes" selected on the Application List, it will show a personalised form for each Application depending on what details we need.

Business Process

post-12454-0-06697300-1463064772.png

After confirmation of call assignment, I have a node that looks at the Application List form

post-12454-0-80554900-1463064856.png

Following from that is a decision node that runs based on the answers given.

(Application 1)

post-12454-0-73714000-1463064963.png

(Application 2 etc)

post-12454-0-11173300-1463064963.png

Call Process

Choosing Applications required. I expect 2 tasks to be created and assigned after this.

post-12454-0-16080100-1463065159.png

Pressing next, i fill out the Customised forms for Application 1 and Application 2

post-12454-0-40830400-1463065894.pngpost-12454-0-15299700-1463065894.png

After I finish the Application i go to the Call and can see that there is only 1 Human Task created... but i need Two as the admin for Application 1 does not look after Application 2 etc.

post-12454-0-42541000-1463066051.png

i've tried many variations of the Decision Answers... but to no avail.

Sorry for being a pain on this query, i just wish to streamline the process for our users without having to use multiple forms for similar things.

Thanks,

Samuel

ps. I'll set up the Business Process properly once i have this working :)

Link to comment
Share on other sites

Hi Samuel,

If I've understood correctly, you need a bit of a combination of your first post (with the parallel processing) and what you have performed in your most recent post.

I've replicated your scenario on my local instance and one way of getting this to work is to put your decision nodes within the parallel processing nodes as per below:

post-11271-0-54440600-1463074055.png

This way, you only need to use one "Get Questions" automated task, but because you are making 3 simultaneous decisions "Has App 1 been selected?/Has App 2 been selected?/Has App 3 been selected?" rather than awaiting the first task to be closed before the next decision is made, the parallel nodes need to be wrapped around these.

I tested mine with the following answers:

post-11271-0-61798500-1463074054.png

And when I raised my request, the relevant tasks were simultaneously created:

post-11271-0-83049300-1463074054.png

I hope this helps!

Edit: I've noticed this is extremely similar to what you posted in the first post - the difference is using the drop down lists to base the answers on rather than the checkboxes. The check box answers are stored as one string in the database e.g. App1,App2,App3 or App1,App3 so you would need a decision based on every combination - and with every additional option you provide, the number of possible combinations gets a lot larger.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...