Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Write collection : Sub-operation of operation

Avatar

Avatar
Contributor
MVP
Milan_Vucetic
MVP

Likes

166 likes

Total Posts

383 posts

Correct Reply

135 solutions
Top badges earned
Contributor
Springboard
Shape 1
Validate 25
Validate 10
View profile

Avatar
Contributor
MVP
Milan_Vucetic
MVP

Likes

166 likes

Total Posts

383 posts

Correct Reply

135 solutions
Top badges earned
Contributor
Springboard
Shape 1
Validate 25
Validate 10
View profile
Milan_Vucetic
MVP

07-02-2020

Hi all,

 

below is collection which insert or update some Test table.

 

milanv69354962_0-1581084994245.png

 

How to achieve for marked field eventDate, when operation is Update, to skip update of this field?

So when operation is Insert all fields are inserted but when operation is Update skip only update of the field eventDate but perform update on other fields?

 

This is easy to achieve when GUI is used but how to do it in the JS code?

 

Regards,

Milan

 

 

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
MVP
wodnicki
MVP

Likes

960 likes

Total Posts

1,090 posts

Correct Reply

508 solutions
Top badges earned
Establish
Affirm 500
Contributor
Shape 1
Give Back 100
View profile

Avatar
Establish
MVP
wodnicki
MVP

Likes

960 likes

Total Posts

1,090 posts

Correct Reply

508 solutions
Top badges earned
Establish
Affirm 500
Contributor
Shape 1
Give Back 100
View profile
wodnicki
MVP

10-02-2020

Hi,

 

In e4x you don't need to call the new XML() constructor on inlined xml (no-op), the xml can be inlined directly with the code.

The @lastModified field is managed by xtk and so can't be updated via xtk.

What you have there is correct otherwise, operation="insertOrUpdate" is upsert in Campaign.

Are you asking about applying the attributes enabledIf and enabledOperation from the workflow update activity?

 

Thanks,

-Jon

Answers (0)