Hi FPM-experts,
unfortunately we can’t manage to get the keys of the newly created and updated node instances in the POWL feeder class. Using a popup makes it complicated.
We now try to achieve something that might be easier, but we still hope you can give us some help because we couldn’t master it ourselves:
- User executes POWL query with certain selection criteria.
- User pushes button. Selected lines are not relevant, action which will be executed doesn’t work on existing BO node instances (but only creates new ones or updates existing ones that do not depend on what is currently displayed on POWL, but will be determined from an external input file)
- POWL FeederClass method HANDLE_ACTION is called and raises an event in the FPM interface to open a popup. (method raise_event)
- FeederClass for the dialog popup is called in the
method BUILD_GEN_POPUP, which opens the popup. - User enters path of external input file and pushes OK
button. - Method PROCESS_EVENT of dialod feeder class is called. Based on the event close dialog box a BO action is called via service manager.
- The BO action reads the input file and creates/updates the BO node instances. Afterwards transaction save is called in dialog feeder
class. - Method CLOSE_POPUP is called in the dialog feeder class.
- System returns to POWL query. Now we would like to refresh the query, just re-using the selection criteria that the user had used
before he pushed the button.
And this is where we get stuck. Can this be achieved somehow? And if yes, where? I guess we need to somehow return to the POWL feeder class, but in the current call stack described above, we don’t.
Thanks for any help
Peter