Need to fetch clientMetaData into webservicesBeforeOperation Rule

Hi @rkhade,

if (accounts != null) {
	//print first account Request using below // Get the first AccountRequest
	AccountRequest accountRequest = accounts.get(0);
	// Use getArguments() to get attributes
	Map IdnAccessRequestAttributes = accountRequest.getArguments();
	log.info("----=IdnAccessRequestAttributes=====  "+IdnAccessRequestAttributes);
	Map values=cloudPreviousValues.get("clientMetaData");
	String department=values.get("Department");
	log.info("----======  "+department);
	} else {
		log.info("No account requests found.");
	}

Refer this post cloudPreviousValues in JDBC rule - Identity Security Cloud (ISC) / ISC Discussion and Questions - SailPoint Developer Community

I hope this will helps you.

Thank You.

1 Like