SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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;
share|improve this question
up vote 2 down vote accepted

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'

share|improve this answer
Thank you! Solved! – Alexander Ulmaskulov Nov 22 '11 at 11:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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