Topic
  • 7 replies
  • Latest Post - ‏2014-09-16T18:24:28Z by Shahib_Ulla
jjdepaul
jjdepaul
1 Post

Pinned topic RESTful interface delegating to BPM flow?!

‏2014-07-18T17:10:39Z |

We are running BPM 8.5.   We need to expose a RESTful interface as an entry point to our integration flows.   I need a way to define an entry point that can deal with the RESTful constructs, but delegate the processing to BPM - I need to star a new BPM flow, passing parameters from the client.

Can someone provide an example on how to do that?

Thx,

James

Updated on 2014-07-18T17:10:49Z at 2014-07-18T17:10:49Z by jjdepaul
  • SG_BPM
    SG_BPM
    187 Posts

    Re: RESTful interface delegating to BPM flow?!

    ‏2014-07-21T14:50:31Z  

    Hi James,

    If I understood this correctly...you are looking for a way to initiate the process from external application which will trigger a process in BPM ?

    If yes you can do that you need a custom portal which will communicate with BPM and you can use OOTB IBM REST calls as per your need.

    Thanks !

    SG

  • nageshsirish
    nageshsirish
    49 Posts

    Re: RESTful interface delegating to BPM flow?!

    ‏2014-09-15T17:34:22Z  
    • SG_BPM
    • ‏2014-07-21T14:50:31Z

    Hi James,

    If I understood this correctly...you are looking for a way to initiate the process from external application which will trigger a process in BPM ?

    If yes you can do that you need a custom portal which will communicate with BPM and you can use OOTB IBM REST calls as per your need.

    Thanks !

    SG

    i have same doubt  how to create work item from REST API

  • Shahib_Ulla
    Shahib_Ulla
    56 Posts

    Re: RESTful interface delegating to BPM flow?!

    ‏2014-09-15T17:55:16Z  

    i have same doubt  how to create work item from REST API

    Hi Nagesh,

    There are few rest api's which can start a bpd. Please go to your https://{server}:{port}/bpmrest-ui/ and give a try.

    Let me know if you need further information.

     

    Regards,

    Shahib

    Attachments

  • nageshsirish
    nageshsirish
    49 Posts

    Re: RESTful interface delegating to BPM flow?!

    ‏2014-09-16T16:40:48Z  

    Hi Nagesh,

    There are few rest api's which can start a bpd. Please go to your https://{server}:{port}/bpmrest-ui/ and give a try.

    Let me know if you need further information.

     

    Regards,

    Shahib

    hi sahib,

    from which table we can get  process application id.

    i tried what you explained ,still getting error.please find attached snap shot

     

    Attachments

  • DQ1D_Glenn_Smith
    DQ1D_Glenn_Smith
    100 Posts

    Re: RESTful interface delegating to BPM flow?!

    ‏2014-09-16T16:47:29Z  

    hi sahib,

    from which table we can get  process application id.

    i tried what you explained ,still getting error.please find attached snap shot

     

    Don't go to the database, use the Exposed Processes REST API.

  • nageshsirish
    nageshsirish
    49 Posts

    Re: RESTful interface delegating to BPM flow?!

    ‏2014-09-16T16:54:33Z  

    Don't go to the database, use the Exposed Processes REST API.

    passing proper snap shot id still it throwing error.

    process id or snapshot id is mandatory Am I right?

    iam not getting what iam doing wrong

  • Shahib_Ulla
    Shahib_Ulla
    56 Posts

    Re: RESTful interface delegating to BPM flow?!

    ‏2014-09-16T18:24:28Z  

    passing proper snap shot id still it throwing error.

    process id or snapshot id is mandatory Am I right?

    iam not getting what iam doing wrong

    Hi Nagesh,

    Please use Soap UI and Create a rest project with following url: https://{server}:{port}/rest/bpm/wle/v1/exposed/process/

    Make sure you pass admin user id and password in request properties. Refer screenshot.

    You will find information about exposed process which I think, you can use it for starting bpd using rest api.

     

    Regards,

    Shahib