Avatar

Correct answer by
Community Advisor

Hi @vitor_d 

Just tried your code and I think where is the problem : you use the "get" method instead of the "load" method to have your workflows.

I didn't know it, but the 'get' method doesn't load the workflow the same way as the 'load' one (the only difference I was aware of is the 'load' method needs to use the 'save' method to save changes, as the 'get' doesn't).

Can you change the line

NLWS.xtkWorkflow.get(group.iWorkflowId);

to

NLWS.xtkWorkflow.load(group.iWorkflowId);

That way I got result.

 

Let me know if it's ok ?

 

Thank you,

Cédric

View solution in original post