Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Enforcing a rule in the workflow

maverick_70
7 - Meteor

Hello,

 

I have a requirement in which I have to enforce a business rule in the workflow. The requirement is that each value in column1 should have a 'O' and 'M' value in column2. 

Column 2 has values P,O,I,B,M corresponding to values in column 1

If the value in column 1 doesn't have an 'O' and 'M' in column 2 then alteryx could throw out an error.

 

Your help is much appreciated

thank you.

2 REPLIES 2
CharlieS
17 - Castor
17 - Castor

I've attached an example of how this can be achieved. The most important tool for this is the Test tool, which will error based on a condition you set. 

 

Let me know if you have any questions. 

Jonathan-Sherman
15 - Aurora
15 - Aurora

This could be achieved using the test tool which can cause the workflow to error based on a condition of your choice.

 

image.png           image.png

 

If this solves your issue please mark the answer as correct, if not let me know! I've attached my workflow for you to download if needed.

 

Regards,

Jonathan

Labels