Posted: 12 Jun 2017 6:45 EDT Last activity: 12 Jun 2017 10:12 EDT
Flow Action Pre-processing activity is not getting excecuted when the page has messages
My requirement is that I have some details in my page , most of which is populated by the data transform in the pre-processing of flow action. Once the form is filled I am performing a check inside my post processing of flow action and setting a message on some property. Why I am setting the message is to reach back to the same page in which the form stands if my requirement not met. As per this, the control is coming back to the page but the pre-processing Data transform is not getting executed. Hence the page is not populating with complete data. Can anyone suggest me a solution or a better approach?
***Updated by moderator: Lochan to add Categories***
If no need to show an error message, then don't do Page-Set-Message. Rather after submission of the assignment, set a different property in the post action. After the assignment keep a decision shape where you would check the value of that property. Based on the property value the decision shape would determine where to go. So there will be two connectors coming out of the decision/fork , one to go back to the same assignment and other one to proceed.