rest api

Share bonita session with another domain

Right now we are using external forms done in .NET and they are in another server what we are trying to do is share the same session between Bonita Server and .NET server so we can use the BonitaBPM Portal and be able to complete and start cases using the .NET forms, we could configure CORS and be able to consume the REST API from .NET Server but for that we need to authenticate from .NET Server to get a valid session and what we are trying to do is avoid that double authentication, we want to share the same session so the user only have to enter the Bonita Portal and be able to consume t

REST API Loginservice

I created a custom login page using jquery I could successful login using the rest api but I cant understand very well the redirect option of the REST API, after changing the redirect option to true and add the redirectURL to "../bonita/portal" I see that the response is a html page but how can I use that information so I can redirect the user to the portal page?

What Im trying to do is a custom login page were if the user put the correct credentials the system redirect them to the bonita portal

REST api for HumanTask filter by process name?

I am using the humanTask REST API to display users with their pending tasks for a given process.

To do this I get the latest process definition based on process name. This gives me a processId that I then use in f=processId={{ processDef[0].id }} (not documented?).

Is there a way to filter on processName instead? The problem with my solution is that when I deploy a new version of the process I loose the humanTaskes for older definitions of the process.

[RESOLVED] Community Edition

Can I use a REST API extension in the Community Studio?

It does not seem possible.

Return a subset of fields from REST app call to bdm

Using v7.2.3

How can we return only certain fields from a business data REST app call? We have a business object with say 20 fields and we just want to populate a select widget on a form. So we only need the value key (persistentId) and a display key. No need to transmit all 20 fields.

Old user icon not removed after updated with REST API

I am uploading user icons through REST API.

It works as expected and on first run I get my 1170 files in tenant work/icons/users directory.

The problem is when I run a second time my job. All the icons get duplicated on disk... The old user icon should be deleted when it is updated.

Start a process with instantiation form via REST Api

Hi,
is it possible to start a process with an instantiation form via REST Api?

If I start a process by creating a case via http://../API/bpm/case, the process will be initialized without instantiation form. And an error occurred, that the contract of the business object isn't fullfilled.
That makes sence.

But is there a way to initialize a process with an instantiation form via REST Api?

Thanx

How to call process variable into user interface in bonita 7 [ need tutorial ]

Hello guys,

I'm interested about BPM and I've installed bonita 5 and 7 in my computer.
I've created my process business into bpm modeling, and now i'm in phase of developing my business process into application ( UI Designer ).
In my modeling process, i've created a process variable ( Java Object - java.util.List [No Coding, Just Created] ) to stored my MySQL - query ( Created using Graphical Connector In ).

How to get all tasks for a user via REST API?

Hi,

I want to retrieve all the tasks for a user using the REST API, not only the assigned i want to retrieve the *pending *tasks too as the Bonita Portal does.

I've been using this , but it only retrieves the assigned tasks. I didn't find nothing in the documentation about pending tasks.

Any ideas?

Thank you.

Custom REST API Exception

Hi,

I'm trying to run this example of custom REST API, but I always get this response:

{"code":500,"contactEmail":null,"description":"The server encountered an unexpected condition which prevented it from fulfilling the request","homeRef":"/","reasonPhrase":"Internal Server Error","uri":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.1"}

The catalina.log gets this exception:

Notifications