Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Earlybound for Stage Names of Process Stages #512

Open
incTB opened this issue Aug 7, 2024 · 2 comments
Open

Earlybound for Stage Names of Process Stages #512

incTB opened this issue Aug 7, 2024 · 2 comments

Comments

@incTB
Copy link

incTB commented Aug 7, 2024

Tool
What tool/version is it that you're making a feature request for? i.e.
EarlyBoundGenerator

Is your feature request related to a problem? Please describe.
No, just an addition.

Describe the solution you'd like
It would be quite usefull to also have available in earlybound the multiple stage names of a given process stage. Similiar to option sets.

Describe alternatives you've considered
Right now comparisons to the stage name have to be made in hardcoded text as I have no knowledge of how to do it in any other way.

Additional context
To access stage names:

ProcessStage psActual = (ProcessStage)service_arg.Retrieve(ProcessStage.EntityLogicalName, ospOld_arg.ActiveStageId.Id, new ColumnSet("stagename"));
 
if (psActual.StageName.ToLower() == "stage name"){...}
@daryllabar
Copy link
Owner

So this would require querying the metadata to get the additional information for the stages of the entity, to then build the string constants?

@incTB
Copy link
Author

incTB commented Sep 2, 2024

I would assume something like that, yes. I am not versed in the tool development, I only use it and thought it would be useful to also have this available just like we have option set names

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants