cancel
Showing results for 
Search instead for 
Did you mean: 

Why this error occurs in automation chain when use @ChainParameters?

Javi_Rodríguez
Champ on-the-rise
Champ on-the-rise

Hello,

I am building a "automation chain" operations (WF_anadirPermisoSolicitud) that it has one parameter. This operation is referenced by other chain with a "Run Chain" operation (WF_anadirListaPermisosSolicitud), using the parameters field.

The definition for both chains: WF_anadirListaPermisosSolicitud

- Context.RunOperation:
    id: WF_anadirPermisoSolicitud
    isolate: "false"
    parameters:
      testName: valueParameterTest

WF_anadirPermisoSolicitud

params:
  - testName:
      type: string
operations:
  - Context.FetchDocument
  - Seam.AddInfoMessage:
      message: "@{ChainParameters['testName']}"

The chain operation is executed from transition´s buttons of workflow task. I have attached the error printed LOG, when WF_anadirListaPermisosSolicitud is executed. Is supported the "@{ChainParameters['parameterName']}" in Nuxeo 6.0?? I think that it´s not.

Thanks, Regards

1 REPLY 1

Javi_Rodríguez
Champ on-the-rise
Champ on-the-rise

I have resolved the problem. The error was because the task belonged to old instance workflow and it not launch correct operation.