I have a few workflow-related questions and need some guidances. We had a very simple workflow definition,
- An editor creates and saves a page in the first activity
- The content is automatically published in the second activity 3..
When the page is automatically published,
The “User” of that entry in the “Publishing Queue” is displayed as “Tridion Content Manager System NT Authority User”, but we would like to show the editor’s name, is this possible? If yes,
a. Could I do it with “Impersonate”?
b. Or set the values of “pageData.WorkflowInfo.Performer.Title”, “pageData.WorkflowInfo.Performer.Description” or “pageData.WorkflowInfo.Assignee.Title”, “pageData.WorkflowInfo.Assignee. Description” in the script, or something else before the actual publishing issued?
c. Other thoughts?
Get the editor’s information
a. From an Event System application, I found that I could get the revisor’s information of a page and am thinking to get the user information, "page.LoadedState.VersionInfo.Reviser.Title" and "page.LoadedState.VersionInfo.Reviser.Description", from there, but, I couldn’t find the same information in "pageData.VersionInfo.Revisor" from the script, even though I did find "pageData.DynamicVersionInfo.Revisor" but it does not contain any information, it’s null. Am I looking at the wrong place?
b. Could I find the previous activity information from the current activity (Auto publishing) then trace back to get the editor’s information?
c. Is there a more straightforward way to get the information?
Thank you very much for your kind attention.
We are using Tridion Sites 9.0 and in the process to upgrade to 9.5. Thanks.