public FluidItem sendFormToFlow(
            Form formToSendToFlowParam,
            String flowParam) {

        FluidItem itemToSend = new FluidItem();
        itemToSend.setForm(formToSendToFlowParam);
        itemToSend.setFlow(flowParam);

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

        try {

            return new FluidItem(this.postJson(
                    itemToSend, WS.Path.FlowItem.Version1.sendFlowItemToFlow()));
        } catch (JSONException e) {
            throw new FluidClientException(e.getMessage(), e,
                    FluidClientException.ErrorCode.JSON_PARSING);
        }
    }
public FluidItem sendFormToFlow(
            Form formToSendToFlowParam,
            String flowParam) {

        FluidItem itemToSend = new FluidItem();
        itemToSend.setForm(formToSendToFlowParam);
        itemToSend.setFlow(flowParam);

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

        try {

            return new FluidItem(this.postJson(
                    itemToSend, WS.Path.FlowItem.Version1.sendFlowItemToFlow()));
        } catch (JSONException e) {
            throw new FluidClientException(e.getMessage(), e,
                    FluidClientException.ErrorCode.JSON_PARSING);
        }
    }
public FluidItem sendFormToFlow ( Form formToSendToFlowParam , String flowParam ) { FluidItem itemToSend = new FluidItem ( ) ; itemToSend . setForm ( formToSendToFlowParam ) ; itemToSend . setFlow ( flowParam ) ; if ( this . serviceTicket != null ) { itemToSend . setServiceTicket ( this . serviceTicket ) ; } try { return new FluidItem ( this . postJson ( itemToSend , WS . Path . FlowItem . Version1 . sendFlowItemToFlow ( ) ) ) ; } catch ( JSONException e ) { throw new FluidClientException ( e . getMessage ( ) , e , FluidClientException . ErrorCode . JSON_PARSING ) ; } }
Send a form item to be part of a workflow.

@param formToSendToFlowParam The Form to {@code "Send To Flow (introduction)"} in the workflow process.
@param flowParam The Flow the {@code formToSendToFlowParam} must be sent to.

@return The Fluid item that was initiated in a workflow process.
Send a form item to be part of a workflow .