Update a javascript within a workflow | Community
Skip to main content
New Member
February 9, 2023
Question

Update a javascript within a workflow

  • February 9, 2023
  • 1 reply
  • 914 views

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
February 10, 2023

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