Quantcast
Channel: Microsoft Identity Manager forum
Viewing all articles
Browse latest Browse all 7443

updateResource writing 0 to an Integer causes NullPointerException

$
0
0

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 attribut 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´m looking forward to hearing from you.

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

Yours sincerely,

Tom


Viewing all articles
Browse latest Browse all 7443

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>