I’m currently working on a workflow that utilizes form inputs to create and assign entitlements to roles. I’ve created the workflows to handle the logic from the form, but to get it working properly, the workflows have gotten quite messy and have many branches of logic.
The reason for the many branches is because I need to do a “compare strings” operation on one of the form inputs and set a certain assignment criteria in the role depending on what the input is. As of right now, there are 4 different potential values that I can set, so that makes 4 separate branches in the workflow to handle that logic. Does anyone know of a better way of handling this logic to be more consolidated and maintainable as time goes on? We plan on adding more values, so adding additional branches of logic for each new value would be a problem.
Here is what the workflow looks like currently:
