below rule will allow you to call a WF from rule
<Rule created="1671623160654" id="0a641847852f1dd181853481334e681b" language="beanshell" modified="1673358229959" name="ONE - run workflow Yoav">
<Description>This rule is used by web service integrations to customize the data loaded into a provisioningPlan's integrationData object. The rule is run by the provisioner immediately before the provisioning plan is sent to the integration. The provisioningPlan and its integrationData object are used by Velocity to populate values in the XML templates for the web service calls. Don't forget to set an Attribute with the name of this Rule so it can be retrieved when needed.</Description><Signature returnType="void">
<Inputs>
<Argument type="identity">
<Description> A sailpoint.object.Identity representing the person being remediated. </Description>
</Argument><Argument type="plan">
<Description> A sailpoint.object.ProvisioningPlan representing remediation. </Description>
</Argument><Argument type="integration">
<Description> The integration config object. </Description>
</Argument>
</Inputs>
</Signature>
<Source>
import java.util.HashMap;
import sailpoint.api.sailpointContext;
import sailpoint.api.Workflower;
import sailpoint.object.Workflow;
import sailpoint.object.WorkflowLaunch;
String WF_name = "WORKFLOW NAME"; // Create and set workflow variables. These are passed into the workflow.
HashMap launchArgsMap = new HashMap(); //launchArgsMap.put("identityName","312593544");
// Find our workflow... replace MyWorkflow with yours
Workflow wf = (Workflow)context.getObjectByName(Workflow.class, WF_name);
// Create and Configure WorkflowLaunch object
WorkflowLaunch wflaunch = new WorkflowLaunch();
wflaunch.setWorkflowName(wf.getName());
wflaunch.setWorkflowRef(wf.getName());
wflaunch.setCaseName("MyWorkflowCaseInstance");
wflaunch.setVariables(launchArgsMap);
//Create Workflower and launch workflow from WorkflowLaunch
Workflower workflower = new Workflower(context);
WorkflowLaunch launch = workflower.launch(wflaunch);
</Source>
</Rule>