Nathan_H_
5 years agoIdeator I
ECO Validation
Good day all. I am trying to set up a validation (C#) for a field to make sure it is completed before moving to the next step in the Workflow Process. I have seen some information for validating a ...
- 5 years ago
Seems like you have assigned an id to get a controlled item. This is my variant based on an original Aras sample:
// Get the controlled item.
Item controlledItem = this.newItem(this.getAttribute("type"), "labs_GetControlledItemCSharp");
controlledItem.setID(this.getID());
controlledItem = controlledItem.apply();
if (controlledItem.getItemCount() != 1)
{
return inn.newError("Error retrieving the controlled item: " + controlledItem.getErrorDetail());
}
string teamId = controlledItem.getProperty("team_id","");