Changing views of Form in workflow? - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Changing views of Form in workflow?

Last post 08-14-2010 07:13 AM by shniggens. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 08-12-2010 08:12 AM

    Changing views of Form in workflow?

    OK, so I've read the instructions from Microsoft, the only problem is . . . I need more options.

     To sum up, I've created a multiple step sequential approval process.  Each reviewer either reject/approves it (using the custom task form created in SPD).  Once it's approved, I would like the form to be closed in Read Only view, if rejected, the workflow stops, and the form should be available for editing by the user.

     The problem I'm having is - Microsoft suggests using the workflow status to set the form view.  But the only statuses I have are In Progress and Completed.  OK, fine, Read Only can be set by In Progress, I'm cool with that.  And Read Only can be set by Completed if the form was approved, sure.  But what if what rejected?  It's still "Completed", right?

     I tried messing around with the content approval, but if the form is rejected, it creates a new, identical task for some reason.  This can't happen. 

     

    Any suggestions on how to switch views?

     

    (I posted in the workflow forum, too, but not much going on in there)

  • 08-12-2010 08:14 AM In reply to

    Re: Changing views of Form in workflow?

    Or is there a way to add custom statuses to a workflow?

  • 08-14-2010 07:13 AM In reply to

    Re: Changing views of Form in workflow?

    Alright, I figured it out.

     I created a column in my document library called "approval status", and then I used "set field in current item" action in my workflow to adjust that column to whatever values I wanted for different stages of my workflow.  Then I created rules in my form to switch views depending on what those values were.

     It works like a charm.  Plus my users can see the current approval status, along with the workflow status.  For instance, it will say "In Progress", and "Approved by HR".  Or "Completed", and "Rejected by HR".

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.