Alisha Posted May 25, 2018 Share Posted May 25, 2018 Hello, We have a main progressive capture (image 1) that asks for the basic details before switching to another capture (image 2). On the second capture, we have a number of branches going to other switch captures, based on the category that is chosen. Since we have lots of switch captures to add, there's more chance of it breaking if we make a change to the capture at a later date. Is there a simpler way of building this? I duplicated the capture as in image 2, with a 'No match' and used different category codes on the branches, but then it wouldn't work because it put it in a loop. Many thanks, Alisha Link to comment Share on other sites More sharing options...
James Ainsworth Posted May 25, 2018 Share Posted May 25, 2018 Hi @Alisha Rather than using a number of linked decision nodes, have you tried using the variable option on the Switch Capture? If your Request Category form comes before your Link node, you just need to have Progressive Captures that match the name, ID, or Code of the category. There may also need to be some consideration on how to handle categories that don't have a matching Progressive Capture. Regards, James Link to comment Share on other sites More sharing options...
James Ainsworth Posted May 26, 2018 Share Posted May 26, 2018 With a single branch node and one switch node you could do this, where if any of the categories match App1, App2, or App3 it will go to the Switch node that uses a variable to select the Progressive Capture to switch to. If no match it branches to the end. Link to comment Share on other sites More sharing options...
Alisha Posted May 29, 2018 Author Share Posted May 29, 2018 Hi James, Thanks for your reply. I’ve tried using custom expressions before a switch capture, but am still encountering a problem. As we have several apps, I would like to group them so that all apps that begin with the letters A, B and C go on one capture, D, E and F go on another capture, and so on. Below is an example of how I’d like the captures to flow. We don’t want to have all the apps on one progressive capture if we can help it, since we have so many. Is this possible to create? Many thanks, Alisha Link to comment Share on other sites More sharing options...
James Ainsworth Posted May 29, 2018 Share Posted May 29, 2018 Hi @Alisha I'm still going to suggest my previous post. Using variables will allow you to branch to multiple progressive captures while only using a single switch process node. This would save having the complexities with multiple levels of branching and multiple decision nodes. Regards, James Link to comment Share on other sites More sharing options...
Alisha Posted May 30, 2018 Author Share Posted May 30, 2018 Hi James, Thanks for your reply. Sorry it took me a while to understand how to do this, but I think I've got it now and will give it a go! All the best, Alisha Link to comment Share on other sites More sharing options...
James Ainsworth Posted May 30, 2018 Share Posted May 30, 2018 Let us know how you get on with setting this up @Alisha Regards, James Link to comment Share on other sites More sharing options...
Alisha Posted May 31, 2018 Author Share Posted May 31, 2018 Hi James, I have tried this, and it works well. Thank you for the suggestion! I was wondering how many Custom Expressions we can have before a Switch Capture, as we could potentially have around 50 on one, and possibly more if new applications are introduced at a later date. Many thanks, Alisha Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now