We had created couple of standalone execution rules (IIQ - rules which are scheduled to be executed) to get the requests which are completed and the associated WorkItem details. In one of the rule we are setting the state as completed for WorkItem based on certain conditions.
I would like know in which category such type of rule will fall when using the same for SailPoint IdentityNow and are those methods like getObjectByName/id, QueryOptions are still possible to use in IdentityNow rule? As I read on forum that for new rules it may not be allowed so do we have equivalent methods to get the details e.g., get custom object details, IdentityRequest object, WorkItem object by id.
Best way is not to think, how you can use the existing functionality in IDN by doing some changes. IDN architecture is bit different. You might not need the customizations in IDN what you did in IIQ.
Still if you wanna do some customizations, you can make use of IDN APIs, develop scripts and schedule them in IQ Service.
In IdentityNow you do not have access to SailPoint context object. You cannot use methods to close workItems in rules. For this you need to use workflows and use IdentityNow rest APIs to find your workitems and close them.
Workflows would be bit tricky but it is not the same workflow like in IIQ. Workflows here can be triggered based on different triggers available and use HTTP Action options to make API calls.