Salesforce

Evaluate (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Evaluate (Magic xpa 3.x)

The "side" status of an Evaluate operation depends on what expressions are being executed. An expression may consist of one or more functions and variables, and each of them will be client-side, server-side, or neutral.

Neutral

Here we have an AddDate() expression, which is Neutral. So, the Evaluate Expression is also Neutral.

Server-Side

However, if the expression is a FileDelete(), the operation becomes server-side. FileDelete() is a server-side function.

Client-Side

ClientFileDelete(), however, is client-side. So now, the Evaluate operation becomes client-side.

Error

It is also possible to create expressions that combine client and server-side functions or variables. In this example, the Evaluate Expression is considered in error, and is marked with an E. This is because it uses a Mixed expression, which is marked with an M. A Mixed expression contains items that must be executed on the server (FileExist) and items that must be executed on the client (ClientOSEnvGet).

Reference
Attachment 
Attachment