Hi There,
Is there a validation script out there that ensures a user has added a linked item to project management tab prior to particualr state in a workflow?
Thanks,
Stephen
Solved! Go to Solution.
Solved by gasevsm. Go to Solution.
Hi Stephen,
Here is an example script that you can use.
var message = [];
if(item.PROJECT_LINK === null){
message.push('You need to select a Project in the Project Link Field.');
}
returnValue(message);
Good Morning Trung,
This script would ensure a field has been populated and I think I might be able to whip up a workaround for what I am looking for but is there a script that validates a linked item in the project management tab?
Scenario
Workspace A (validation that Workspace B was created and linked to A prior to workflow)
Workspace B (project link field, picklist of Workspace A to link to project management)
Right now a user could create a record in Workspace A and start the workflow without creating Workspace B record.
Thanks,
Stephen