since ‎01-11-2017
‎10-12-2019
mohammada451459
Level 2
Re: masking column with JAVA script, need help for write statement. mohammada451459 - Adobe Campaign Standard
Hi Serge, I agree and your solution looks quite easy to implement too, but since Business want's it that way so don't have much flexibility.ThanksArif
4494
Views
0
Likes
4
Replies
Re: masking column with JAVA script, need help for write statement. mohammada451459 - Adobe Campaign Standard
Hi Jean, Yes you are right, but I would like to keep this one opened and I will close the other one. Hope that is fine with you.Thanks Arif
4494
Views
0
Likes
6
Replies
Re: masking column with JAVA script, need help for write statement. mohammada451459 - Adobe Campaign Standard
Hi Richa, The column is EVENT XML of schema eventHisto, I need to mask the column with blank value as GDPR ready process.ThanksArif
4494
Views
0
Likes
0
Replies
masking column with JAVA script, need help for write statement. mohammada451459 - Adobe Campaign Standard
Hi Team, I am trying to write below code to make the column XML column as blank but it is not happening , could anyone suggest where I am going wrong.---------------------------Java code -------------------------var query = xtk.queryDef.create()var res = query.ExecuteQuery();for each (var tmp in res){logInfo("DATA Id : " + tmp.@id);logInfo("DATA : " + tmp.target.data);logInfo("-----------------");var Data = "";xtk.session.Write();}-------------------------------Thanks Arif
4767
Views
0
Likes
10
Replies
Re: How can I mask CTX column in a schema (EVENT XML) mohammada451459 - Adobe Campaign Standard
Hi Serge, Thanks for the useful tips , but unfortunately we are not allowed to touch the schema , I am writing something like below but seems it's not updating the column with blank . Not sure where I am goign wrong.var schemaName = vars.targetSchema.substring(vars.targetSchema.indexOf(":") + 1);logInfo(schemaName);var collection = <{schemaName + '-collection'} xtkschema={vars.targetSchema}/>//logInfo("Collection" +collection);var query = xtk.queryDef.create()var res = query.ExecuteQuery();//log...
1112
Views
0
Likes
0
Answers
How can I mask CTX column in a schema (EVENT XML) mohammada451459 - Adobe Campaign Standard
Hi All, I need to mask a CTX column in one of my schema (EVENT XML column) with some random value or can keep it blank too. I can always mask some other columns which are not CTX either by null or black depending on the data type of the column , I did some search and found that for CTX we can do it through JAVA code but I am not sure what we can write in JAVA code to mask this column.Thanks Arif
1788
Views
0
Likes
3
Answers and Comments
Re: Unchecking keep result filed in a workflow through javascript mohammada451459 - Adobe Campaign Standard
Hi Amit, Thanks! for the help, it's quite useful . You are a superhero . : )
4302
Views
1
Like
0
Replies
Unchecking keep result filed in a workflow through javascript mohammada451459 - Adobe Campaign Standard
Hi , I am trying to create a workflow which will be requiring to uncheck the "keep interim result" check box. I can always go to the workflow and can do it because surely that is not the best practice. But what I am trying to achive is to uncheck that box by changing the value of @keepresult in xtk:workflow schema from YES to NO , how exaclt I can achive that through javascript ? Thanks Arif
4583
Views
6
Likes
3
Replies
Re: How to stop a workflow through javascript command mohammada451459 - Adobe Campaign Standard
Hi Amit, Thank you so much, it worked ThanksArif
2614
Views
0
Likes
0
Replies
Re: How to stop a workflow through javascript command mohammada451459 - Adobe Campaign Standard
Hi Amit, Thanks for the response , but I am trying to put a for loop to get all the workflow to stop instead of one individual one.I have taken all the worflow details in one java variable , now I need to call that variable in the stop syntax.This is what I am trying to do.xtk.workflow.Stop(for each(var in XYZ))Note : xyz is my vraible which contains all the data of multiple workflows which needs to be stopped.Thanks Arif
2614
Views
0
Likes
1
Replies
How to stop a workflow through javascript command mohammada451459 - Adobe Campaign Standard
Hi All, I am trying to join two tables Table 1 : Contains few workflow columnsTable 2 : workflow tableafter taking out desired columns (status ==13(Paused)) I need to stop these paused workflows through some external command.below is the screenshot of my workflow.after joining both the tables I am taking desired columns in javascript and trying to stop the workflow on the criteria, below is the javascript.also writing the code below.{var strUnactionedWf = "";var AlertEmail = xtk.queryDef.create(...
3403
Views
0
Likes
4
Replies
Re: calling a java variable in delivery or Alert mohammada451459 - Adobe Campaign Standard
Hi Marcel, Thanks for the help , your provided thread was very useful and I am able to get the notificatiopn through Alret process box Cheers!
1894
Views
2
Likes
0
Replies
calling a java variable in delivery or Alert mohammada451459 - Adobe Campaign Standard
Hi , Could someone help me in resolving the issue I am facing in my delivery ?I am defining one variable in my Java code and trying to call the same in my delivery but I am not getting any email (even email template where I am trying to call the variable is failing too)Screen shot of my Java code.DELIVERY SCREENSHOTS:
2402
Views
0
Likes
3
Replies
How can I count the number of times a workflow is been targeted mohammada451459 - Adobe Campaign Standard
Hi everyone,for one of the request I need to send email to all those users whose workflow is in pause state , I have below query for the same.1) How can I send the notification only to those users whose workflow is in pause state (If I have 3 workflow in pause state then owner of those three workflow should get the notification of only their worklfow and not others).2) If one workflow has been targeted one time and user is notified, another day same workflow is been targeted again and notified t...
808
Views
0
Likes
1
Answers and Comments