The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
Shivangi
1 year agoNew Contributor III
Task Activity
Hi,
Out of Curiosity,
Is it possible to update Task Activity.
Hi
You would use this BRApi to control the display of (a) the Task Activity Description and (b) the Percentage Complete value for the progress of a running task that is executed by Data Management through an Extender Business Rule or Data Management Workspace Service (we need to pass in ExtenderArgs).
Dim bValue As Boolean = BRApi.TaskActivity.UpdateRunningTaskActivityAndCheckIfCanceled(si, extenderArgs, activityDescription, percentCompleteToAdd)Updating the percentCompleteToAdd variable on the Task Activity window will only affect the Display and not make the process run more quickly. For Example, here I am able to control what gets displayed in the Task Progress window using this BRApi e.g.
Hope this helps
Thanks
Sam
6 Replies
- MG
OneStream Employee
I really wouldn't. What's the requirement?
- RobbSalzmannValued Contributor II
Why wouldn't you?
- rhankeyContributor III
I have not personally used this function, but it looks like BRApi.TaskActivity.UpdateRunningTaskActivityAndCheckIfCanceled() will allow you to do so.
- sameburn
OneStream Employee
Hi
You would use this BRApi to control the display of (a) the Task Activity Description and (b) the Percentage Complete value for the progress of a running task that is executed by Data Management through an Extender Business Rule or Data Management Workspace Service (we need to pass in ExtenderArgs).
Dim bValue As Boolean = BRApi.TaskActivity.UpdateRunningTaskActivityAndCheckIfCanceled(si, extenderArgs, activityDescription, percentCompleteToAdd)Updating the percentCompleteToAdd variable on the Task Activity window will only affect the Display and not make the process run more quickly. For Example, here I am able to control what gets displayed in the Task Progress window using this BRApi e.g.
Hope this helps
Thanks
Sam
- ShivangiNew Contributor III
Thank You! This was really helpful!
- ShivangiNew Contributor III
Thank You!
Related Content
- 3 years ago
- 7 months ago
- 2 years ago