AnsweredAssumed Answered

Activiti Rest end point

Question asked by narranil2 on Sep 14, 2016
Latest reply on Oct 24, 2016 by narranil2

I've defined the Activiti rest end point through Spring boot Rest controller under package in enterprise edition of Activiti.

Once I try to configure this end point and use it in Activiti process I'm getting 401-Access denied error.

But once I login to Activiti enterprise and use this rest end point URL in browser I'm getting results. I've passed the authentication info also.

Please suggest me if I'm doing anything wrong. Sinnet of the code is attached.

public class AccountRestController {

@RequestMapping(value={"/currencies"}, method=RequestMethod.GET, produces = "application/json")
   public Set<Currency> getAllCurrencies() {
      Set<Currency> aCurrencySet = Currency.getAvailableCurrencies();

      System.out.println("Available currencies:::"+aCurrencySet.size());

      for (Currency currency : aCurrencySet) {

         System.out.println("Currency Code::::"+ currency.getCurrencyCode());
      return aCurrencySet;