Question

5
Replies
354
Views
PunitS66 Member since 2015 3 posts
Accenture
Posted: June 29, 2017
Last activity: June 29, 2017
Closed

Flow Actions pyAssignActions don't populate

I have following scenario: Consider a classgroup A-B-C mapped to pc_work table. I am having subclass which belong to classgroup A-B-C. Now I am having 2 flows defined in A-B-C-D class which are FlowA and FlowB.

FlowA is having an Worklist/Workbasket Assignment and 3 Flow Actions originating from this assignment.

FlowB is also having an Worklist/Workbasket Assignment and 3 Flow Actions originating from this assignment.

Work Items are created whenever I am triggering FlowA or FlowB. However the only difference that I am observing between the flow processing of FlowA and FlowB is as follows:

I wrote an Activity which is doing following:

Obj-Open-By-Handle on the WorkObject, Obj-Open-By-Handle on Assignment and show page of the AssignmentPage.

I am noticing that while opening the assignment which looks like ASSIGN-WORKBASKET A-B-C pyID!FlowA, I am getting pyAssignActions (Embed-Pega-Actions) which is listed all the 3 flow actions originating from assignment of FlowA

However when I am opening the assignment ASSIGN-WORKBASKET A-B-C pyID!FlowB, I am not getting pyAssignActions populated for the same.

I have also noticed that if I call this utility function in my activity for flowB, pyAssignActions are populating correctly.

pega_procom_pegaprocomutilities.populateFlowActions(tools.findPage("AssignmentPage"),tools.findPage("WorkPage"), tools);

We can perform this change, but my question is what is the criteria for population of pyAssignActions i.e. the Flow Actions originating from an assignment for a particular flow as in my scenario, it seems to be working for FlowA but not for FlowB.

Any Suggestions!!

Data Integration Java and Activities Case Management
Moderation Team has archived post
Share this page LinkedIn