Question
Turkiye Finans Kat?l?m Bankas?
TR
Last activity: 13 Oct 2016 6:49 EDT
stage name
How can I getting stage name of the step.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
Harun,
Hello. I don't know if I understand the question. Can you give a little bit more context? Maybe a screen shot of where you're trying to use this?
Thanks,
Mike
Turkiye Finans Kat?l?m Bankas?
TR
suppose that we have stages and step like StageA (stepA1-stepA2-stepA3) and StageB (stepB1-StepB2-StepB3).....
in StepB2 we have a textinput that user can enter step name and a button that gets Stage name of step.
suppose that when we are in StepB2 user enter "StepA2" to the textinput then pressing the button.
Finally when button pressed I want to get stage name of StepA2
-
Maruthi Prasad
Pegasystems Inc.
US
So the WO coupled step of interest likely has the information you are looking for in the following properties. (one has the dependency of the coupled assignment/flow)
pyIssuedFromStageLabel |
pyWorkPage.pxFlow(Step1).pyIssuedFromStageLabel | Stage 1 |
pxCurrentStageLabel |
pyWorkPage.pxCurrentStageLabel |
Turkiye Finans Kat?l?m Bankas?
TR
I don't want current Stage.
I want passed stage name .
Pegasystems Inc.
US
Hello,
If the step was still coupled is a current flow you could search your pxflow for a steplabel then get the associated issuedfromstagelabel,(below) but from the sounds of it it sound like you want a static mapping for steps to coupled pages. If that is the case you might want to review the contents of the Thread Data page D_CaseStages. From my history with this page the Stages are listed in the pxResults list with coupled steps in the pxProcesses pagelist. You could probably search for the step in said processes and pipe out the corresponding pyStageName for the parent pxResult instance.
pyWorkPage.pxFlow(Step1).pyFlowPath(1).pyStepLabel
Turkiye Finans Kat?l?m Bankas?
TR
Thank you Rowland.
I can use D_CaseStages.pxResults(1).pxProcesses(2) clipboard value.
But I don't know how I can loop D_CaseStages.pxResults().pxProcess ...
Pegasystems Inc.
IN
>>> I want passed stage name
...also could you please refer 'pxStageHistory' clipboard page
Turkiye Finans Kat?l?m Bankas?
TR
Thank you Phani
Do you know How I can loop pyWorkPage.pxStageHistory(1).pxProcesses(1) to find stage name
Cognizant
IN
We donot have to loop .pxProcesses(index) to find the stage name(s).
Looping .pxStageHistory(index) would be suffice. Please verify the screenshot below.