Forum Discussion

Shivangi's avatar
Shivangi
New Contributor II
8 days ago

Task Activity

Hi, Out of Curiosity,  Is it possible to update Task Activity.
  • sameburn's avatar
    sameburn
    8 days ago

    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