Share all details related to your problem, including any error messages you may have received.
Is there anyway that we can trigger this in the run rule task to run on multiple hosts for the same task? Otherwise if there is anyway we can write this in a rule to iterate through all the UI and task host etc ?
The requirement is: the rule will pick up a file from a source and these files are downloaded into the hosts. We expect every host to have the same file and this should not be explicitly stated to indicate the exact host name but based on the number of UI and task servers available.
@infamous
I don’t think you can have a direct way to do this, create rule which triggers the Task definition on all the hosts or a rule that executes the same logic on all your SailPoint hosts one after the other.
Create a rule with below steps
1.Get the Hosts from Server Object which are active
Iterate through each of the host names and within the set the attributes of task definition as well in the code, along with regular attributes , set the attribute TaskSchedule.host to the name of host which you are iterating and after the run the Task using the API of TaskManager mentioned below
run(java.lang.String name, Attributes<java.lang.String,java.lang.Object> args)
Launch a task immediately, with TaskDefinition specified by name.
Launch a task immediately, with TaskDefinition specified by name.
Make this rule as a task, or other way is just include above logic ( apart from task execution) in your existing rule
This actually run the rule against all the servers within IIQ which are configured as Task/Request but if you want to have this on UI server as well I don’t think this will work
Also can you share how your task and Request service definition looks like, are all your servers both task and request configured or you have servers which are just UI ( not configured either task or Request) ?