Error message in FIM custom workflow RRS feed

  • Question

  • I am working on a custom authorization workflow which will check date entered by user on submission. I want to display an error message on UI if date entered is not validated. How can I show my custom error message.
    Tuesday, April 2, 2013 4:56 AM


All replies

  • When you are making your authorization decision and you want to deny the request you should throw an exception - put your message to a user in exception message and this is what will be presented to a user on deny decision on request. Note however that this will be result of authorization phase so it will be after your request will be submitted and it will not be directly visible in RCDC.

    Tomek Onyszko, memberOf Predica FIM Team (, IdAM knowledge provider @

    Tuesday, April 2, 2013 12:23 PM
  • I want to validate user input date on submission . I developed a custom activity and calling it from authorization workflow but when reading the date its gving me null/balnk value.

    Can you please guide me here or there is any another way to validate user input.

    Wednesday, April 3, 2013 5:03 AM
  • There are only 2 ways to validate the date value.

    1. Regular expression validation in the attribute/binding properties. This will prevent from submitting the change.

    2. Authorization Workflow. This will require you to submit the change.

    Wednesday, April 3, 2013 7:15 AM
  • If you want to get the value in the authorization phase, you need to read the request instead of reading the date field of user because the request is still not submit to FIM

    See this link as example to get request parameters:


    • Marked as answer by Shobhitvaish Wednesday, April 3, 2013 10:58 AM
    Wednesday, April 3, 2013 9:37 AM