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.
MDS2012 - Custom Workflow, Validation Status & Message

Unanswered MDS2012 - Custom Workflow, Validation Status & Message

  • 13. dubna 2012 9:54
     
     

    I am working with MDS2012.
    I have created a custom workflow (c# assembly) to validate members of a specific entity.
    How can I set the validation status to failed, and specify a message related to that validation ?

Všechny reakce

  • 1. května 2012 23:57
     
     

    Hi Guillaume,

    I'm not 100% sure about this but from what I've seen, your workflow code would have to write back to MDS using its web services API and change the member attributes via code to reflect the workflow outcome. But let me know if you find out otherwise!


    http://www.henryong.com

  • 16. května 2012 22:54
     
     

    As of now Business Rules send Email Notifications when they have a Validation Action (and it fails)

    So as Henry Suggested, one way would be to have a separate attribute that has the Workflow result and have a Business Rule that monitors change to the Result Attribute and Has an Action according to the Outcome

    Ex: of BR could be

    Attribute: WorkflowResult

    Condition

    WorkflowResult Changed

    Action

    WorkflowResult must be Success

    So whenever your workflow fails it can update Value of WorkFlowResult attribute to Fail


    Hari (Microsoft)