Sohini_M
(Sohini Majumdar)
May 16, 2025, 7:31am
1
Identity identity=context.getObjectByName(Identity.class, identityName);
List applicationNames = new ArrayList();
if(identity != null){
List links = identity.getLinks();
for (Link link : links) {
String app=link.getApplicationName();
String accountName = link.getDisplayName();
String status = "Active";
Hi @Sohini_M ,
Welcome to the Sailpoint Developer community:
Please try below form:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE Form PUBLIC "sailpoint.dtd" "sailpoint.dtd">
<Form created="" id="" modified="" name="Test Form" type="Workflow">
<Field displayName="Identity Application" multi="true" name="identityApplication">
<AllowedValuesDefinition>
<Script>
<Source>
Identity identity=context.getObjectByName(Identity.class, identityName);
List applicationNames = new ArrayList();
if(identity != null){
List links = identity.getLinks();
for (Link link : links) {
String app=link.getApplicationName();
applicationNames.add(applicationNames);
}
return applicationNames;
</Source>
</Script>
</AllowedValuesDefinition>
</Field>
<Button action="next" label="Approve" parameter="nextAction" value="true"/>
<Button action="back" label="Reject" parameter="backAction" value="true"/>
</Form>
You can adjust the form and field according to your requirment.
system
(system)
Closed
July 15, 2025, 9:19am
3
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.