Can you help me with my task: I'm creating a view/edit InfoPath form, using InfoPath Designer, for a task list where a workflow creates tasks.

In the workflow I change this:


How can I change the view of the InfoPath form from workflow code?

For example:

view1 if createTask1_TaskProperties1.TaskType = 1;
view2 if createTask1_TaskProperties1.TaskType = 2;

You can set the view of Infopath form from a column/field in its formload event ... Through workflow update the column using the action 'Update list item'

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.