Which IIQ version are you inquiring about?
Version 8.3
Share all details related to your problem, including any error messages you may have received.
Hi all!
Hope everything’s well.
Came across this requirement and was wondering, is there a way to call a web service connector from a workflow and run operations such as test connection, create users, and basically all the operations defined within the connector?
Thank you all in advance!
Test connection you can do programmatically with
Connector connector = ConnectorFactory.getConnector(application, null);
connector.testConfiguration();
For provisioning operations from within a workflow, you would want to create and submit a provisioning plan.
1 Like
ipobeidi
(Ivan Obeidi)
May 28, 2024, 3:02pm
3
In IIQ? Sure , just Create the connector/Application Object and call the operations accordingly.
kjakubiak
(Kamil Jakubiak)
May 28, 2024, 3:03pm
4
Hi Nicolas,
Of course it is
import sailpoint.connector.Connector;
import sailpoint.connector.ConnectorFactory;
Connector conn = ConnectorFactory.getConnector(_context.getObject(Application.class, accountRequest.getApplicationName()), null);
conn.provision(newPlan);
in this case it is provisioning plan directly via connector but there are also different methods like
getObject
- to aggregate object
doHealthCheck
- to make test connection
Most of the details you can find in javadoc for Connector class
1 Like
kjakubiak
(Kamil Jakubiak)
May 28, 2024, 3:04pm
5
Test configuration actualy tests configuration - to check connection you have to use doHealthCheck()
1 Like
testConfiguration will actually also test the connection and throw a sailpoint.connector.ConnectorException if it fails.
1 Like
ipobeidi
(Ivan Obeidi)
May 28, 2024, 5:22pm
7
In IIQ? Sure , just Create the connector/Application Object and call the operations accordingly.
system
(system)
Closed
July 27, 2024, 5:23pm
8
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.