Petals SE Flowable

Attachment support

Details

  • Type: Improvement Request Improvement Request
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: No version
  • Fix Version/s: 1.5.0
  • Component/s: Process service
  • Security Level: Public
  • Description:
    Hide

    In a process definition, we can have to use attachments. For example, a PDF file must be validated or rejected by a user task.

    Flowable has a support of attachments at process instance and/or task level. So the Petals SE Flowable should support attachments also when receiving service requests.

    As for variables, attachments are mapped through annotations placed inside of the binding operation definition into the WSDL:

    <wsdl:binding name="demandeDeCongesBinding" type="tns:demandeDeConges" > 
       <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
       <wsdl:operation name="demanderConges">
          <soap:operation soapAction="http://petals.ow2.org/se/Acitivibpmn/1.0/su/demanderConges" />
          <bpmn:operation processDefinitionId="vacationRequest" action="startEvent" actionId="request" />
          <bpmn:userId>/*[local-name()='demande']/*[local-name()='demandeur']</bpmn:userId>
          <bpmn:variable name="numberOfDays">
             /*[local-name()='demande']/*[local-name()='nbJourDde']
          </bpmn:variable>
          <bpmn:attachment name="signature">
             /*[local-name()='demande']/*[local-name()='signature']
          </bpmn:attachment>
          <bpmn:output>valid.xsl</bpmn:output>
          <wsdl:input>
             <soap:body use="literal" />
          </wsdl:input>
          <wsdl:output>
             <soap:body use="literal" />
          </wsdl:output>
       </wsdl:operation>
    </wsdl:binding>
    Show
    In a process definition, we can have to use attachments. For example, a PDF file must be validated or rejected by a user task. Flowable has a support of attachments at process instance and/or task level. So the Petals SE Flowable should support attachments also when receiving service requests. As for variables, attachments are mapped through annotations placed inside of the binding operation definition into the WSDL:
    <wsdl:binding name="demandeDeCongesBinding" type="tns:demandeDeConges" > 
       <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
       <wsdl:operation name="demanderConges">
          <soap:operation soapAction="http://petals.ow2.org/se/Acitivibpmn/1.0/su/demanderConges" />
          <bpmn:operation processDefinitionId="vacationRequest" action="startEvent" actionId="request" />
          <bpmn:userId>/*[local-name()='demande']/*[local-name()='demandeur']</bpmn:userId>
          <bpmn:variable name="numberOfDays">
             /*[local-name()='demande']/*[local-name()='nbJourDde']
          </bpmn:variable>
          <bpmn:attachment name="signature">
             /*[local-name()='demande']/*[local-name()='signature']
          </bpmn:attachment>
          <bpmn:output>valid.xsl</bpmn:output>
          <wsdl:input>
             <soap:body use="literal" />
          </wsdl:input>
          <wsdl:output>
             <soap:body use="literal" />
          </wsdl:output>
       </wsdl:operation>
    </wsdl:binding>
  • Environment:
    -

Activity

Hide
Christophe DENEUX added a comment - Wed, 12 Apr 2023 - 11:32:38 +0200

Postponed to version 1.5.0 or upper

Show
Christophe DENEUX added a comment - Wed, 12 Apr 2023 - 11:32:38 +0200 Postponed to version 1.5.0 or upper

People

Dates

  • Created:
    Fri, 5 Aug 2016 - 11:55:17 +0200
    Updated:
    Wed, 12 Apr 2023 - 11:32:38 +0200