Infopath Rule: Clear Workflow Task Action, automatically appears

  • 3 February 2011
  • 2 replies
  • 1 view

Badge +1

Hi


We've upgraded to K2 blackpearl 4.5 (4.10060.1.0) with Update KB001230 and use Visual Studio 2010 (VS2010) and Infopath 2007. Whenever we modify an Infopath form using VS2010 a new Infopath rule "Clear Workflow Task Action" is automatically added to the "Open and Save" form options. This rule clears down our workflow action fields and causes us problems as one of the fields is mandatory. Unfortunately despite numerous attempts to remove or edit this rule it keeps being reset back to its original form. Has anyone had this problem or know of a fix?


Regards


2 replies

Badge +10

Yes, I first noticed this in the 1070 release.  I ended up working around it as the rule will always be added back in when publishing the process in my testing.


So in InfoPath instead of choosing the field option that the field "cannot be blank".  Go to the fields validation property tab and set conditional rules i.e.


 DocumentView is equal to Manager Review


                    and


Action field is blank


Then display a data validation message.


I hope this helps.


Tim


 

Badge +1

Thanks Tim


I tried your approach and it provides us a good workaround/solution.

Reply