Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

BAM Control

  • Last UpdatedJun 10, 2024
  • 2 minute read

The Business Activity Monitoring (BAM) control provides features that can be used by a process administrator to monitor and control various instances of the workflow(s) in a repository. It provides a graphical representation of the various instances of the workflows using three different views.

To add BAM control using a panel

  1. Before adding the Process Designer control in a panel, Create an ASP.NET Project in Visual Studio .NET.

  2. Go to BAM.aspx.cs page.

  3. Ensure that you have initialized the User Context object as per the steps given in Create User Context.

  4. In the underlying code, create a new instance of control and add the instance to the panel in the Page_Load, as in the example below.

    Skelta.Core.ApplicationObject application = new Skelta.Core.ApplicationObject("ListRepo");//Repository name

    object loggedinUserId = "4952ffff-e0db-401b-bb7d-70a0fec1df07";

    Skelta.Entity.UserContext userContext = new Skelta.Entity.UserContext(loggedinUserId, application, "skeltalist");

    Skelta.BAM.UserControls.BAMControl bam = new Skelta.BAM.UserControls.BAMControl();

    bam.ApplicationName = userContext.Repository.ApplicationName; //Provide Application or Repository name. This is mandatory.

    bam.ID = "BAM";

    bam.UserIdString = userContext.LoggedInUserId; //Provide user id string. This is mandatory.

    bam.Height = unit.Percentage(100);

    bam.Width = Unit.Percentage(100);

    Panel1.Controls.Add(bam);

  5. If the bin folder does not exist in the user project (D:\Develop\SkeltaTestSite), create the bin folder under user project (D:\Develop\SkeltaTestSite).

  6. Copy ComponentArt.Charting.WebChart.dll and ComponentArt.Charting.lic from [AVEVA Work Tasks Installed Path]\AVEVA\Work Tasks\Web\EnterpriseConsole\bin to bin(D:\Develop\SkeltaTestSite\bin) folder of the user project.

  7. Create "TempReports" folder under the project.
    This step is required because temporary data (Example like Output files generated at the time of exporting  the report ) of BAM reports is stored in the "TempReports" folder.

  8. Create BAM Reports folder in path [AVEVA Work Tasks Installed Path]\AVEVA\Work Tasks.

  9. Provide complete "Access rights" to NETWORK SERVICE account to the folders specified below in Windows Server 2003 machine. In the case of Windows XP, provide full "Access rights" to ASP.NET Machine account to the same folders specified below:

    1. TempReports: Which is under project

    2. Image folder: Exists in the path [AVEVA Work Tasks Installed Path]\AVEVA\Work Tasks\Web\BPMUITemplates\Default\BAM folder

    3. BAMReports: Exists in the path [AVEVA Work Tasks Installed Path]\AVEVA\Work Tasks.

Properties that can be set for BAM control

  • ApplicationName: Provide application name or repository name to get information about workflow status.

  • UserIdString: Provide UserIdString of the actor to get the status of workflow where the actor is part of workflow. Click Create User Context to view the different UserIdString formats.

  • WorkflowNames: Provides filtering so that the status of only the workflows specified in the WorkflowNames property only be displayed.

  • ShowCategories: Shows only those categories as mentioned in the ShowCategories property, i.e. the categories as shown in the left pane of the BAM Reports (Dashboard, Analyze).

    Note: The BAM Control properties ShowNodes, HideNodes, and ShowTree are obsolete and should not be used with AVEVA Work Tasks.

 

TitleResults for “How to create a CRG?”Also Available in