Is there any documentation about how to use XML_MESSAGE, VALIDATION_XML_MESSAGE, VALID_IF_FOUND and ALTERNATE_XML_MESSAGE?
I have written some simple rules using only XML_MESSAGE, but If I wanted to use the other fields how do they work.
My First question would be Does the VALIDATION XML run before or after XML MESSAGE?
When does the ALTERNATE XML run?
How do I use VALID_IF_FOUND?
I’m Working in FSM 6.5
Thanks!
Best answer by emil.isaksson
Hi @csanders,
Have a look at the below knowledge base article, I think that should answer your questions.
In validation XML you can perform a hierarchy XML query. Simply add a hierarchy XML select query there (e.g: to check whether a request has at least one task)
If ‘valid if found’ property is set to ‘Y’ then it will execute the XML message (1st output parameter) if hierarchy query if validation XML returns at least one row.
If no rows are returned by hierarchy query it will execute the alternate XML.
This works the opposite if you set valid if found property to ‘N’.
Have a look at the below knowledge base article, I think that should answer your questions.
In validation XML you can perform a hierarchy XML query. Simply add a hierarchy XML select query there (e.g: to check whether a request has at least one task)
If ‘valid if found’ property is set to ‘Y’ then it will execute the XML message (1st output parameter) if hierarchy query if validation XML returns at least one row.
If no rows are returned by hierarchy query it will execute the alternate XML.
This works the opposite if you set valid if found property to ‘N’.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.