Active Control

Active Control is the Core functionality of SAM.

It has three major sections and global search and filters

  • Active Control

  • Exceptions & Alerts

  • Notifications.

First time the SAM app is configured and all services are executed, we should see all apps in the unknown and unmanaged state.

All the apps are displayed in the table Form with different options to filter apps and for operations allowed specific to the selected apps.

 

image-20240515-090648.png

Below is the information about the columns displayed on the active control tab.

⦁ Server - Name of the server from where the app is listed
⦁ Stream - Name of the server-Stream from where the app is listed
⦁ Application - Name of the application from the selected server
⦁ Size (MB) - APp size
⦁ Owner - OWner / Person who created this app
⦁ Status - SAM status of the selected app
a. Active - Controlled by SAM SA
b. InActive - was controlled by SAM SA but not presently.
c. ScannedOK - App is scanned by SAM and looks fine but still not controlled by SAM SA
d. Scanning - App is currently being scanned by SAM.
e. To Be Scanned - App is still not scanned by SAM.
f. unmanaged - Not controlled by SAM SA
⦁ Has Qlik SA -
a. Checked - if app has Section Access
b. Unchecked - if app do not have Section Access
⦁ Require Review -
a. Checked - User needs to review as there are changes due to changes in Rules or user has of any of the user beloning to step3 has been changed.
b. Unchecked - User do not need to review and there are no rule/access changes
⦁ RE Status - Status of SA in App
a. SaScriptReplacedBySam- App has SA but its replaced by SAM
b. Unknown - For apps which are not scanned so far

⦁ Sync Type - Type of the App which is scanned
a. Auto(QMC)- App do not belong to external table and do not have User section access
b. Auto(Table)- App do belongs to external table and do not have User section access
c. Manual(QMC)- App do not belong to external table and has User section access
d. Manual(Table)- App belongs to external table and has User section access
e. ParentSA(QMC)- App is duplicated from other app and for such apps we see Main App: Name of the app from which this app is duplidated
NOTE: For apps not having Sync typ =ParentSA(QMC), Main App will be N/A
⦁ SAM Error - error status if any
a. NO Error - There are no errors while scanning
b. FullReloadError- Error while full reloading the pp
c. InstantReloadError - - Error while instant loading the pp
⦁ ScanError - any other errors ex. it appears for app having two active SA or if app Section Access script exists in your App but can't be Reverse Engineered
⦁ Error Message:detailed error message of the scan error
a. Section Access script exists in your App but can't be Reverse Engineered. Please fix the SA in your Qlik App and rescan your App
b. Instant reload failed.SAM will retry in the cache service
c. Reload using task failed.Status of the task on the QMC is 'Failed' and appId is '<<App id>>'.Pelase try to reload the app manually
d. Section Access script exists in your App but can't be Reverse Engineered. Please fix the SA in your Qlik App and rescan your App.

Filters

User Can filter the apps based on server, stream scan type, owner and Status using the filter options available in the grid.

 

Refresh Apps/Select All/ Clear All/ Column Selection

Refresh: Users can click on refresh and check the status of the apps (esp when they scan any app)

Select All: User can Select All apps and scan at one shot using Select All button

Clear All: User can clear Selected apps at one shot using Clear All button

Column Selection: User can hide/unhide columns based on their requirement. Also they can revert all columns using Reset Grid Columns options.

 

Scan the App

Select One or more app unknown and unmanaged apps and click on Scan

 

While the scan process is in progress we see status As ToBeScanned

 

Once the scanning is complete we should see Status as ‘ScannedOK’ and RE status as NoSaScript When we scan app not having SA script and Sam Auto Gen Script

Once Scanned User can Choose other scan type or activate the SAM for the selected App

Based on the settings and type of app which is getting scanned for SAM, we should see the status as below after scanning the App

Usage based on the App Section Access State

Sam Auto Gen Script

RE Status

Sync Type

Status

App without Section access

No

No SaScript

Auto

ScannedOK

App with Simple Reverse Section Access

No

SaScriptReversible

Manual

ScannedOK

App with Complex Reverse Section Access04

No

SaScriptNotReversible

unmanaged

unmanaged

App without Section access

If Auto

SaScriptsReplacedBySam

Auto

Active

App with Simple Reverse Section Access

If Auto

SaScriptReversible

Manual

ScannedOK

App with Complex Reverse Section Access04

If Auto

SaScriptNotReversible

unmanaged

unmanaged

App without Section access

If Manual

No SaScript

Auto

ScannedOK

App with Simple Reverse Section Access

If Manual

SaScriptsReplacedBySam

Manual

Active

App with Complex Reverse Section Access04

If Manual

SaScriptNotReversible

unmanaged

unmanaged

App without Section access

Both

SaScriptsReplacedBySam

Auto

Active

App with Simple Reverse Section Access

Both

SaScriptsReplacedBySam

Manual

Active

App with Complex Reverse Section Access04

Both

SaScriptNotReversible

unmanaged

unmanaged

 

Activate

Select an App with Sync type Auto / Manual and status =ScannedOk and click on Activate and status should change to Active

Also at the top of grid we should see Revert Script and Deactivate Buttons enabled Along with Scan type in case we need to change the Scan Type.

Also I Qlik we should see SAM section Added to the application.

Revert Script

Clicking on the ‘Revert Script’ for any of the Scanned and Active App, there should be a confirmation popup.

Clicking Yes , we should see App is reverted back along with the success message.

RE Status should be unknown and status unmanaged

Also SAM Section should be removed from app from Qlik