fluid-ws-java-client/src/main/java/com/fluidbpm/ws/client/v1/flow/FlowStepRuleClient.java
public FlowItemExecuteResult compileFlowStepEntryRuleAndExecute(
            String entryRuleSyntaxParam, FluidItem fluidItemToExecuteOnParam)
    {
        FlowStepRule flowStepRule = new FlowStepRule();
        flowStepRule.setRule(entryRuleSyntaxParam);

        FlowItemExecutePacket toPost = new FlowItemExecutePacket();

        if(this.serviceTicket != null)
        {
            toPost.setServiceTicket(this.serviceTicket);
        }

        toPost.setFlowStepRule(flowStepRule);
        toPost.setFluidItem(fluidItemToExecuteOnParam);

        return new FlowItemExecuteResult(this.postJson(
                toPost, WS.Path.FlowStepRule.Version1.compileEntrySyntaxAndExecute()));
    }
public FlowItemExecuteResult compileFlowStepEntryRuleAndExecute(
            String entryRuleSyntaxParam, FluidItem fluidItemToExecuteOnParam)
    {
        FlowStepRule flowStepRule = new FlowStepRule();
        flowStepRule.setRule(entryRuleSyntaxParam);

        FlowItemExecutePacket toPost = new FlowItemExecutePacket();

        if(this.serviceTicket != null)
        {
            toPost.setServiceTicket(this.serviceTicket);
        }

        toPost.setFlowStepRule(flowStepRule);
        toPost.setFluidItem(fluidItemToExecuteOnParam);

        return new FlowItemExecuteResult(this.postJson(
                toPost, WS.Path.FlowStepRule.Version1.compileEntrySyntaxAndExecute()));
    }
Compiles and Executes the {@code entryRuleSyntaxParam}
text within the Fluid workflow engine.

@param entryRuleSyntaxParam The syntax to compile.
@param fluidItemToExecuteOnParam The item to execute the rules on.

@return Execution result.