V7.1.3 Community Parameters

Los parametros en la version comunitaria no son actualizables por medio de live update.

¿Esto significa que los parametros no pueden ser actualizables desde el REST API?

Los permisos que tienen mi custom_page son:

La página permite a los usuarios con los perfiles pertinentes acceder a los siguientes permisos:

- process_actor_mapping_visualization

- process_management

- process_visualization

- connector_visualization

- process_categories

- organization_visualization

Actualmente utilizo la documentacion para actualizar los parametros y me genera el siguiente error:

Url del boton: …/API/bpm/processParameter/7886627158825133765/unidad
Data a enviar: {“value”:“UNIDADES”}
la variable “v_respondeParameter” es la variable de retorno del boton PUT que utilizo

v_respondeParameter: {"exception":"class org.bonitasoft.web.toolkit.client.common.exception.api.APIMethodNotAllowedException","message":"HTTP method PUT METHOD NOT ALLOWED. not allowed for API bpm#processParameter","stacktrace":"[org.bonitasoft.web.rest.server.framework.API.update(API.java:199), org.bonitasoft.web.rest.server.framework.API.runUpdate(API.java:191), org.bonitasoft.web.rest.server.framework.APIServletCall.doPut(APIServletCall.java:242), org.bonitasoft.web.toolkit.server.servlet.ToolkitHttpServlet.doPut(ToolkitHttpServlet.java:193), javax.servlet.http.HttpServlet.service(HttpServlet.java:649), org.bonitasoft.web.toolkit.server.servlet.ToolkitHttpServlet.service(ToolkitHttpServlet.java:75), javax.servlet.http.HttpServlet.service(HttpServlet.java:727), org.bonitasoft.web.toolkit.server.servlet.ToolkitHttpServlet.service(ToolkitHttpServlet.java:226), org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303), org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208), org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52), org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241), org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208), org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176), org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145), org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92), org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394), org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241), org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208), org.bonitasoft.console.common.server.login.filter.AbstractAuthorizationFilter.doFilter(AbstractAuthorizationFilter.java:60), org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241), org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208), org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748), org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486), org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411), org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338), org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213), org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171), org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145), org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92), org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394), org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241), org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208), org.bonitasoft.console.common.server.login.filter.AbstractAuthorizationFilter.doFilter(AbstractAuthorizationFilter.java:60), org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241), org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208), org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748), org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486), org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411), org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338), org.bonitasoft.livingapps.LivingApplicationPageServlet.service(LivingApplicationPageServlet.java:81), javax.servlet.http.HttpServlet.service(HttpServlet.java:727), org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303), org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208), org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52), org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241), org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208), org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176), org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145), org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92), org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394), org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241), org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208), org.bonitasoft.console.common.server.login.filter.AuthenticationFilter.isAuthorized(AuthenticationFilter.java:152), org.bonitasoft.console.common.server.login.filter.AuthenticationFilter.doAuthenticationFiltering(AuthenticationFilter.java:134), org.bonitasoft.console.common.server.login.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:119), org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241), org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208), org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220), org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122), org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501), org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171), org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103), org.bonitasoft.console.security.SessionFixationValve.invoke(SessionFixationValve.java:77), org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116), org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408), org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070), org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611), org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316), java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source), java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source), org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61), java.lang.Thread.run(Unknown Source)]","api":"bpm","resource":"processParameter"}

Hola, pues buscando en la documentación, sólo está disponible para versiones de suscripción. Cito:

A process parameter is a variable attached to process. The parameter value is set at deployment, and applies to all cases of the process. This feature is available in Performance, Efficiency, and Teamwork editions.

Podrías tomar como alternativas el actualizar desde un proceso usando la Engine API o haciendo una extensión API usando dentro de la lógica de esta también la Engine API.

Espero sirva aún de ayuda.