Wanted a button to assign a team to a task when clicking the button. Got the following solution:
for (const entity of args.currentEntities) {
const team = await fibery.getEntityById("Team", "4524be10-7a6a-11eb-8005-e144590b652c",["Id"]);
// to update an entity provide an object with the new values
await fibery.updateEntity(entity.type, entity.id, {
'Team': team["id"]
});
}
The UUID I got by scanning network traffic. Is there an easier way to determine it?