Skip to content

Instantly share code, notes, and snippets.

@BrianMRO
Last active March 2, 2022 16:22
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save BrianMRO/ca76dab25d07b03c310b87337285bb11 to your computer and use it in GitHub Desktop.
Workflow - Control Fields
states.Add<State.hold>(flowState => flowState
.WithActions(actions =>
{
actions.Add(removeHold, a => a.IsDuplicatedInToolbar());
})
.WithFieldStates(fields =>
{
fields.AddAllFields<CMMSWorkOrder>();
fields.AddField<hold>(c => c.IsHidden());
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment