Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.

답변됨 Comment Out or Disable Workflow Actions or Conditions

  • Wednesday, April 18, 2012 3:16 PM
     
     

    When developing a complex workflow with SharePoint Designer 2010, it would be nice to comment out or disable a couple of lines during development or testing.  Has anyone figured out a creative way of doing this?

    Right now it seems like my only option is to delete actions and add them back in.  I am aware of the Add a comment functionality, but this does not allow me to comment out.

All Replies

  • Wednesday, April 18, 2012 3:41 PM
     
     Answered

    I would simply put IF condition around the actions that I want to comment out and if I want to run those actions my condition will be

    If 1 equals 1

    and if I dont want them to run then my condition will be

    If 1 equals 2

    Unless there is a better way I would like to hear that too. :D


    Amit