“Invalid Argument” Error while setting properties in SLA

Ajit Patra

Recently, we were working on SLA. We provided necessary conditions in Applicable When and Success Criteria sections. In Success Actions section, we wanted to update Customer Record(OOB entity “contact” renamed) and clicked on Set properties as shown below:

SetProperties

On click of it, we got “Invalid Argument” error as shown:

Invalid_Error

To fix this issue, we copied the URL of this window and decoded it. We got the root cause of this issue by looking at the decoded URL. The decoded URL contained the following piece of information:

Error Details: Wrong type of attribute UI properties passed to the attribute “custom_field”.&RequestUri=/SFA/Workflow/entityform.aspx?entityFullName=contact.regardingobjectid&entityname=contact&mode=1&primaryentity=task&readonlymode=true&relatedattributename=regardingobjectid&stepId=UpdateStep30&workflowId=712b088a-9dc1-4b3a-acc2-a1e8e8ebcacf&user_lcid=1033

We found that one of the custom field(“custom_field”) we had created was causing this issue. This field was put on the form.

We understood the problem. We had created a field with same schema name earlier with “Single Line of Text” type and later we realized that the field should have…

View original post 71 more words

Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

One thought on ““Invalid Argument” Error while setting properties in SLA”

Share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s