Expand my Community achievements bar.

Update a javascript within a workflow

Avatar

Level 1

Hello, 

 

I would like to generate some custom javascript files with a workflow. But when i launch the update query, nothing happen :

Here is my code :

       // strList is an array of string

var queryUpdate = <javascript xtkschema="xtk:javascript" _operation="insertOrUpdate"       _key="@name"
     name = "aba:EnumSwitchFunctions"
     data = { strList.join('\r\n') }
     />;
try{
    queryUpdate = xtk.session.Write(queryUpdate);
} catch(e){
    logInfo(e)
}

When i look in the javascripts folder I can see that one has been created but it is empty.

Thanks in advance for your answeres,

Best regards,

 

1 Reply

Avatar

Employee Advisor

I think this is related to Campaign Classic and not Standard?