There is not an activity (receive/pick) to start the process

Sometimes when we create SOA BPEL with define service interface later, we get the below error even if we add the receive activity.

  • Error(52): There is not an activity (receive/pick) to start the process
  • Error(52): Initial activity is invalid. An initial activity must be of a receive or pick activity.
  • Error: there is no receive activity that starts the process 
Following is the error snapshot:
To resolve this issue open BPEL process in code view and changed the ‘no’ in receive activity to ‘yes’ as shown below
Before:
   <receive name=”ReceiveInput” createInstance=”no
             variable=”Receive1_Request-Response_InputVariable”
             partnerLink=”HttpGet” portType=”ns1:Request_Response_ptt”
             operation=”Request-Response”/>
After
   <receive name=”ReceiveInput” createInstance=”yes
             variable=”Receive1_Request-Response_InputVariable”
             partnerLink=”HttpGet” portType=”ns1:Request_Response_ptt”
             operation=”Request-Response”/>

Posted

in

by

Tags: