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

        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.compileViewSyntaxAndExecute()));
    }
public FlowItemExecuteResult compileFlowStepViewRuleAndExecute(
            String viewRuleSyntaxParam, FluidItem fluidItemToExecuteOnParam)
    {
        FlowStepRule flowStepRule = new FlowStepRule();
        flowStepRule.setRule(viewRuleSyntaxParam);

        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.compileViewSyntaxAndExecute()));
    }
public FlowItemExecuteResult compileFlowStepViewRuleAndExecute ( String viewRuleSyntaxParam , FluidItem fluidItemToExecuteOnParam ) { FlowStepRule flowStepRule = new FlowStepRule ( ) ; flowStepRule . setRule ( viewRuleSyntaxParam ) ; 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 . compileViewSyntaxAndExecute ( ) ) ) ; }
Compiles and Executes the {@code viewRuleSyntaxParam}
text within the Fluid workflow engine.

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

@return Execution result.
Compiles and Executes the { @code viewRuleSyntaxParam } text within the Fluid workflow engine .