@shri91127 ,I have executed the following code and it gave me the right result, a NovDate string with the format shared.var NovDate = new Date();
NovDate = formatDate(NovDate, "%4Y%2M%2D%2H%2N%2S");
logInfo(NovDate);If you are getting error in JS activity, that could be due to error in other lines ...
Hi @shri91127 ,You are using the same variable name with the variable declaration format (means adding the var). Javascript has a feature called variable hoisting. This will move all variable declarations to the top of the scope. So when you call formatDate function, the data type of NovDate would b...
Hi @Greeshma_Sampath1 ,If I understand the requirement correctly, then what you would like to have is a looped execution of query with different results at each execution. I think the following structure of workflow might satisfy that requirement.I have created a file based on your data and loaded u...
@ukender ,I haven't used it but the xtk.builder InstallPackage function might be useful for this. Please see the below function:https://experienceleague.adobe.com/developer/campaign-api/api/sm-builder-InstallPackage.html.You may try reading the xml file and passing the content to the installpackage ...
Hi @ukender ,If the purpose is to export packages, then I think you may be able to use the JS code. I had defined my packages in package definition. So the following code would export packages in package definition one by one. We can filter out any packages based on the namespace or package name.var...
Hi @Gangadhar_Reddy1 ,I suppose the outbound transition of query activity is not connected to any other activities and hence that warning would be there in audit log. On your workflow, there shouldn't be any orange transition heads as in screenshot attached. If there is any such transitions that are...
Hi @Indra123 ,Using shell script, you could read a csv file from SFTP and check the number of empty columns as cat file.csv | head -n 2 | tail -n 1 | grep -c ',,'As the number of columns would be static, you could calculate the non empty columns.
@Frankie_d , Could you please try logout and login back to your AC instance? If it still doesn't work, try clearing the local cache from File-> Clear local cache, then reconnect to AC instance.
Hi @Frankie_d , Go to Tools-> Deployment wizard-> Email channel-> Advanced parameters. There you could find the online resource validity period set to 60d. Try changing that.
Hi @xliu , As per my understanding, task variables are like a local variable itself. It is used by an activity for temporary storage of data. I don't think it would be accessible in next activities. Also, advanced script executes prior to the update action. So the variable wouldn't have been set at ...