Last active
March 2, 2022 16:22
-
-
Save BrianMRO/ca76dab25d07b03c310b87337285bb11 to your computer and use it in GitHub Desktop.
Workflow - Control Fields
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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