Getting Allowablesubsequentstatenames S’abonner

Legacy Poster

I need guidance on how to get the AllowableSubsequentStateNames for a WorkFlowState name. I am able to pull the current workflowstate from a template but I am not able to find a way to get the Allowable Subsequent State Names for the current template workflowstate name.  Below is the C# code I am using to get the current workflowstate name of the template.  Sample could would be greatly appreciated. Please let me know if there are any questions.

string strTemplatePath = SelectedTemplateProp.Location + SelectedTemplateProp.FileName;
Library btlib = new Library();
LibrarianFile btfile = btlib.GetFile(strTemplatePath);
lblCurrentstate.Text = btfile.WorkflowState.ToString();

Thank you,
Matt S

Vous devez vous connecter pour laisser un commentaire.