Skip to main content
New Member
Feb 9, 2023 5:04 PM UTC
Question

Update a javascript within a workflow

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,

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Adobe Employee
Feb 10, 2023 8:14 AM UTC

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

Translate