Probably makes sense to start a new thread for this question... I have a workflow with a YamlParticipant. The workflow makes its way to the YamlParticipant and stops, waiting for an external forward() call on the participant.
Okay, now, somewhere else, I want to retrieve this participant, update its workitem's values, and call forward(). How do I do this? Specifically, how do I retrieve a reference to this particular participant waiting for the update? >From what I gather from the rdocs, it should be something like this: @fei # the fei within the workflow where the participant is waiting... I should be able to retrieve this via get_process_status() as long as I have the workflow_instance_id (wfid) @participant_name # name I used to register the participant p = @engine.get_participant(@participant_name) p.each do |@fei, workitem| # update workitem's attributes ... p.forward(workitem) end Does this look right? This looks kind of odd to me, because conceptually the pattern should be something like this: p = @engine.get_participant(@participant_name, @fei) workitem = p.workitem # update workitem's attributes ... p.continue ... or something along those lines. In other words, I get access to the participant that's holding up things, do something to it's workitem payload, and then tell it that it's okay to return to the workflow and continue on. What am I misunderstanding here? Thanks, Matt. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenWFEru dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/openwferu-dev?hl=en -~----------~----~----~----~------~----~------~--~---
