Discussion Validation based on linked work items during state transition?

  • Thursday, January 17, 2013 8:46 AM
     
     

    Hello,

    I am customising a TFS process template using the process template editor. I have the following scenario on hand. 

    A user should be able to move the Task work item to closed state only if it satisfies at least one of the two conditions:

    1. The task is linked to a changeset

    2. The task is linked to a deliverable whose state is Closed.

    Can I check these conditions in the workflow during the state transition. If yes, can you please point me to any links that describe a similar scenario? Thanks.

All Replies

  • Friday, January 18, 2013 8:22 AM
    Moderator
     
     

    Hi Shilpa, 

    Thanks for your post.

    As far as I know we can’t check these two conditions in the default work item state transitions, you need to create the custom control to achieve that.  


    John Qiao [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.


  • Tuesday, January 22, 2013 7:23 AM
     
     

    Hi Shilpa

    I have to do the same as you have, please update me if you got something.


    Mohammed Younis