Hello,
I’m looking to write an IdentityAttribute rule and want to test it via the development kit prior to uploading.
I’m going to be using the command getAccountByNativeIdentity ( Account getAccountByNativeIdentity(String applicationName, String nativeIdentity)
).
Within the rule I’m tinkering with I’ve determined how to setup the “When” commands for when its invoked but I’m unsure how to setup the account object and populate it with data. Below is an example of what I’m doing I’ve also tried Account acc = new Account()
but can’t see any way to actually populate this with account data.
Any advice or assistance where I’m going wrong would be appreciated.
The goal of the rule, is to look up data from an account unlinked from this identity and grab a value from it. This other account won’t be linked to the identity the rule is run on.
Regards
Brendon