I’m wanting to refresh the dashboard when I hit the update on the BAQ (advanced update). So, in the BAQ update I set callContextBpmData.ShorChar10 when the routine finishes.
In the dashboard customization I check this field when the dataset initializes, but it never shows any contents.
I’m wanting the BAQ to tell me it has updated a record so I can run the refresh as is suggested in your code above.
I had thought I would set the callContextBpmData field in the BAQ update directive and then check it in the customization when it comes back in the epidataview notification, but the field isn’t reporting any contents.
I’ve done that with customizations and method directives but haven’t tried it on an updatable BAQ.
I’m still not sure I follow, but here is some more useful code for refence.
Normally I use the customized dashboard to assign a callcontext, then I reference that in my BPM. Here is a chunk of code from my AddAnyOp dashboard. Also a whole thread on it here: Add or Edit any Operation - My Custom Dashboards
What I’m looking for goes the other direction. I need the BPM in the updatable dashboard to report back to the customization that it has taken an action. I can set the field in the BPM, but the contents don’t make it back to the customization when the update is finished.
I thought there might be an update of the callContextBpmData record available in the BPM but haven’t found one.
Perhaps you could add a bit calculated field to your BAQ, and default the value to false. Then, in your BPM you can update the bit field. You can use that to pass data back from the BPM to the Customization. Hopefully it updates in a way that you can capture the event in your customization.
@jdtrent - did you ever find a solution to this? I am having the same issue. Updating a UD table through a UBAQ and I want to communicate back to the dashboard assembly which row I modified so that when it refreshes, it will then select that same row. Not quite the same thing but ultimately I’m trying to pass info from callContextBpm fields back into my customization and it’s not picking it up in the customization.