Ask a questionAsk a question
 

AnswerWorkflow weakness COPYing entered (but not saved) data

  • Wednesday, September 30, 2009 11:12 AMRhubarb65 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi

    I have added a field to CMMI Bug called Developer. My goal is :-

    Bug cannot transition be Active unless Developer has a value.
    AssignedTo automatically gets a copy of Developer when transition ->Active

    I have not found a solution that works exactly as specified above. Always seem to bump into some weakness in the workflow capabilities

    I can achieve the following (with a Proposed Bug):-

    1) If the user enters Developer, Saves, chooses Active, Saves, then Developer is copied OK.
    2) If the user enters Developer,        chooses Active, Saves, then the Developer is NOT copied since it is not in the DB.

    Is there anyway to fix case 2) ?

    Peter

Answers

  • Thursday, October 01, 2009 5:55 AMRuiz YiModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi Peter,

    Yes , you are right, the value of Developer is empty before the workitem is saved,  copy or default rule does not work.

    So I think that WorkItemType definition does not support your requirement, but you can create a custom work item control. There is a sample here

    Best Regards,
    Ruiz
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Sincerely, Ruiz Yi
    • Marked As Answer byRhubarb65 Thursday, October 01, 2009 7:54 AM
    •  

All Replies

  • Thursday, October 01, 2009 5:55 AMRuiz YiModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi Peter,

    Yes , you are right, the value of Developer is empty before the workitem is saved,  copy or default rule does not work.

    So I think that WorkItemType definition does not support your requirement, but you can create a custom work item control. There is a sample here

    Best Regards,
    Ruiz
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Sincerely, Ruiz Yi
    • Marked As Answer byRhubarb65 Thursday, October 01, 2009 7:54 AM
    •