and more in a single search tool across platforms. Read the announcement here. |
11/10/2022 08:47 AM
Hello, I have a use case where I need to share few data attributes on a database endpoint when provisioning to Service Now endpoint. I have "create" and "update" policies as well as JSON defined on the Service Now REST Connector.
How can I refer to the database account endpoint in the REST connector JSON?
Currently I have -
11/10/2022 11:40 PM
In 5.5 its not feasible. You can try using userAccount object ( this works in v2021)
older version use customquery or saviynt for saviynt to store data in user’s custom property and refer in another connection
11/16/2022 04:56 PM
Okay. I changed the design to use only one endpoint. This is populated by database connector that does accounts import. It has the rest connector defined as the provisioning connector, to Service Now application. The provisioning is triggered by User update policy. Provisioning is creating pending tasks and the tasks are completed by the provisioning job, but no actual provisioning is happening at Service Now. No errors in the log files. Provisioning comment on the completed tasks are empty.
Here is the update JSON, not sure why accounts not created at ServiceNow. I tried this format as well, but same result - {userAccount.get('Endpt_LOC').accountid}
=============================
11/17/2022 02:21 PM
Provisioning is happening now but the actual values are not being pulled. Accounts are inserted into Service Now as ${account.accountid}, ${account.customproperty4} etc or ${userAccount.get('Endpt_LOC').accountid}, ${userAccount.get('Endpt_LOC').customproperty4} etc.
11/17/2022 02:24 PM
UserAccount will give data which is already exist not submitted in request. We used custom query and which is running before wsretry
11/18/2022 06:56 AM
Okay. I do see UserAccount binding on the REST Connector guide on attributes exposed per binding object. But there are more attributes exposed on the account, so can someone confirm these account attributes could not be provisioned to target application in 5.5?
Attributes exposed per Binding Object:
account: name, updatedate, updateUser, systemid, accountID, saviyntConnectJobId, displayName, Accounts, referenced_accountkey, referenced_accountName, description, comments, accounttype, accountclass, usergroup, validfrom, validthrough, userlock, incorrectlogons, creator, createdon, lastlogondate, lastpasswordchange, passwordlockdate, jobid, privileged, passwordchangestatus, customproperty1 -customproperty56.
11/18/2022 09:23 AM
This can be provisioned if those attribute already exists on account & request is raised for same endpoint.
if request is raised for another endpoint and attribute expected from dynamic attribute then those won;t be available until those are updated before calling json