Best way to handle string to integer transformation for an attribute

I’m trying to provision Freshservice (SaaS connector) from our IDN tenant.
So far so good, I’m able to send Names, and any text value attributes.
What seems to be an issue, the source expects “department_ids” and “requesting_manager_id” to be integer and IDN seems to be sending this as a string.

I’ve promoted them to Identity Attributes.
Now - How am I able to check or set the data_type for these attributes?
What would be the best way to do this? Is it a transform on the attributes - I want’s able to find a clear transform for this. Would it then be a Rule or a Workflow?
Does anyone have some hints?
Thanks!

Hi,

By default ISC treats everything as string. As this is webservice connector, you can write a before operation rule and convert the string to integer.

You need to create rule and patch it to webservice operation. So before executing create account it will execute rule and convert the data into integer.

-Abhinov

2 Likes

I am surprised to see there is no transform available for something like this (setting data-type) .

1 Like

Even if there was a transform , there’s no option to set an Identity Attribute’s type. The only types supported for Identity Attributes are string and dateTime (by adding DateType to the end of the Identity Attribute’s technical name and storing the value in ISO8601 format).

3 Likes