none
updateResource writing 0 to an Integer causes NullPointerException RRS feed

  • Question

  • Hi,

    currently I´m having a question in writing parameters from a custom Workflow to the FIM-Portal. I thought there is no problem in writing 0 to an Integer to a custom portal attribute but unfortunately at least there is a problem for me. I don´t know, if there is a fault in the way I´m doing that.

    I´m going this way:

    I have defined a custom integer Attribute in FIM Schema and try to write a value of Zero to this field.

    I use the following code:

    int a = 0;

    updateRequestParameters.Add(new UpdateRequestParameter("myIntegerAttribute", UpdateMode.Modify, a));

    If I run the workflow I´m getting a NullPointerException as PostProcessingError. I don´t have any idea were the fault is.

    I hope you can help me with my problem :-).

    Yours sincerely,

    Tom


    • Edited by ThomasIW Wednesday, March 13, 2013 9:23 AM
    Monday, March 11, 2013 7:58 AM