08-15-2023 06:52 AM - edited 08-15-2023 07:26 AM
Is it possible to show the task progress dialog (see picture below) of a DM task started in a BR.
Dim task As TaskActivityItem = BRApi.Utilities.ExecuteDataMgmtSequence(...)
' Do something with task to show dialog?
Or is there another way to consolidate from a BR, where it automatically shows the progress dialog?
Context: Button -> Dashboard Extender BR to change params -> DM sequence -> Consolidate. I need the Dashboard Extender API on same button press to change params, so can't call the DM/consol directly from button press.
08-15-2023 09:13 AM
Hi Jasper
You can use this.
BRApi.TaskActivity.UpdateRunningTaskActivityAndCheckIfCanceled(si, args, StepInfo, percentCompleteToAdd as Decimal)
08-15-2023 09:17 AM - edited 08-15-2023 09:25 AM
I tried, there doesn't seem to be a way to use that API to show the dialog related to a certain task started from a a Dashboard Extender rule.
08-15-2023 09:14 AM - edited 08-15-2023 09:27 AM
This post says it's not possible.
But, I'm able to run that API through BRApi.TaskActivity (as Omkareshwar says in his reply). However, that API seems to only allow changing the percentage and description. Not show the dialog.
If that's the case, is there a way to use the `XFSelectionChangedTaskResult` API from an Extensibility rule?