Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Default Value Expression does not return a value in Book new activity Screen

edited Jun 11, 2024 2:57PM in Field Service 2 comments

Summary:

Expression does not return a value when set as default value for duration in "Book new activity" context, it executes successfully in the "Add activity" context.

Version (include the version you are using, if applicable):


24B Weekly Maintenance Pack 08 (24.04.08.0.6)


Code Snippet (add any code snippets that support your topic, if applicable):

if(activity.custom_property CONTAINS "YYY" and activity.aworktype CONTAINS "AAA", 180,

if(activity.aworktype CONTAINS "AAA", 120,

if(activity.aworktype CONTAINS "BBB", 120,

if(activity.aworktype CONTAINS "CCC", 120,

if(activity.aworktype CONTAINS "DDD", 45,

if(activity.aworktype CONTAINS "EEE", 30, 60)

)))))

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!