Hi All,
Could you please help me in writing the java script on how to change the custom field value when clicked on the "Mark Complete" button on the Task entity?
Many Thanks,
Poornimaa AN
Hi All,
Could you please help me in writing the java script on how to change the custom field value when clicked on the "Mark Complete" button on the Task entity?
Many Thanks,
Poornimaa AN
Hi Instead of writing Javascript I reckon you may consider a Workflow or Plugin in this case. Is JavaScript is required ?
Hello,
You can try following code:
function onSaveHandler(executionContext){
if (executionContext.getEventArgs().getSaveMode() !== 58) {
return;
}
executionContext.getFormContext().getAttribute("yourcustomfield").setValue(your value);
}
You will have to use proper schema name of the field and proper value.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156