AnsweredAssumed Answered

Invoking WF (CloupiaScript task) via REST

Question asked by chartmann@nsn on Jan 3, 2017

Hello,

 

my WF has one CloupiaScript task. Using "ctxt.getInput" for defining variables, doing some string manipulations and logging.

 

var TEST_INPUT = ctxt.getInput("TEST_INPUT");

 

WF works fine via "Admin WF" and "Catalog", but getting an error via REST API.

 

### working ###

Jan 02, 2017 13:38:59 UTC Variable undefined

Jan 02, 2017 13:38:59 UTC Variable 10.x.x.x

 

### not working####

Jan 02, 2017 13:39:36 UTC Variable undefined

Jan 02, 2017 13:39:36 UTC Variable null

Jan 02, 2017 13:39:36 UTC Error occured at line # 10

 

Obviously var definition is broken. Do I need different libraries? Do I need different Input?

 

Best Regards

Christian

Outcomes