How to configure IRS through admin console
Overview
After setting up system data, we need to create the campaign, which we can create using workbench user interface
Setup Localisation
Localisation is required to get started with workbench ui. To setup localisation, follow these steps - Loading Localisation
Update Roles In MDMS Config
Port forward mdms v2 using below cmd
kubectl port-forward svc/mdms-v2 -n egov 8080:8080Search for admin schema using below curl
curl --location 'http://localhost:8080/mdms-v2/v2/_search' --header 'Content-Type: application/json' --data '{ "RequestInfo": { "apiId": "hcm", "ver": ".01", "ts": 1718000364924, "action": "_search", "did": "1", "key": "1", "authToken": "9cd4a306-8bed-4e91-9306-2a2250cec891" }, "MdmsCriteria": { "tenantId": "mz", "isActive": true, "schemaCode": "HCM-ADMIN-CONSOLE.adminSchema", "uniqueIdentifiers": [ "user.all" ] } }'In the response, check for
mdmslist and copy the id value from the first object and keepimport below curl and replace the id in object
Mdmswith above copied value
curl --location 'http://localhost:8080/mdms-v2/v2/_update/HCM-ADMIN-CONSOLE.adminSchema' --header 'Content-Type: application/json' --data '{ "RequestInfo": { "apiId": "hcm", "ver": ".01", "ts": 1718000364924, "action": "_search", "did": "1", "key": "1", "authToken": "9cd4a306-8bed-4e91-9306-2a2250cec891", "userInfo": { "uuid": "1f1bfedb-b86d-4319-9370-5c5d95b1e93f" } }, "Mdms": { "id": "2005d578-6274-47da-a88e-93044c2e2320", "tenantId": "mz", "schemaCode": "HCM-ADMIN-CONSOLE.adminSchema", "uniqueIdentifier": "user.all", "data": { "title": "user", "$schema": "http://json-schema.org/draft-07/schema#", "properties": { "enumProperties": [ { "enum": [ "Registrar", "Distributor", "Supervisor", "National Supervisor", "Provincial Supervisor", "District Supervisor", "Team Supervisor", "Helpdesk User", "Monitor Local", "Logistical Officer", "Health Facility Worker", "Warehouse Manager" ], "name": "HCM_ADMIN_CONSOLE_USER_ROLE", "isRequired": true, "description": "User Role", "orderNumber": 3 }, { "enum": [ "Temporary", "Permanent" ], "name": "HCM_ADMIN_CONSOLE_USER_EMPLOYMENT_TYPE", "isRequired": true, "description": "Employement Type", "orderNumber": 4 } ], "numberProperties": [ { "name": "HCM_ADMIN_CONSOLE_USER_PHONE_NUMBER", "type": "number", "maximum": 9999999999, "minimum": 1000000000, "isUnique": true, "isRequired": true, "description": "Phone Number", "orderNumber": 2, "errorMessage": "HCM_ADMIN_CONSOLE_USER_PHONE_NUMBER_ERROR" } ], "stringProperties": [ { "name": "HCM_ADMIN_CONSOLE_USER_NAME", "type": "string", "maxLength": 128, "minLength": 2, "isRequired": true, "description": "User Name", "orderNumber": 1 }, { "name": "HCM_ADMIN_CONSOLE_BOUNDARY_CODE_MANDATORY", "type": "string", "isRequired": true, "description": "Boundary Code (Mandatory)", "orderNumber": 5, "errorMessage": "HCM_ADMIN_CONSOLE_BOUNDARY_CODE_MANDATORY_ERROR" } ] }, "campaignType": "all" }, "isActive": true, "auditDetails": { "createdBy": "a1fc1a17-f324-479f-bd2a-f2e9b9d0fd83", "lastModifiedBy": "13f801d0-03da-4fe7-8299-250f5396e2bc", "createdTime": 1717754171827, "lastModifiedTime": 1718781116871 } } }'Send the request to update
Setup Campaign Steps
Open Workbench UI -
https://<domain_name>/workbench-ui/employee/user/language-selection, Select a Language and Login with Superuserusernameandpassword, Then click onSetup-campaignSelect type of campaign as
IRS-mzand click nextGive
Name of the campaignasIRSand click nextSelect the boundaries where you want to run the campaign and click next
Select the start and end date of the campaign and click next. *Note that deliveries would work only from start date, not before this.
Select start and end dates for cycles as campaign start date and end date and click next.
Configure conditions for delivery step -
Click on
Add Resources to be deliveredbuttonClick on
Add New ResourceUse Resource type as
Sprayand resource variant as50mland create resources for namesSumishield,Fludora,Delt,Acetellic,DOTandBendiocarbone by one.After all the resources are created. Click on
Add Resources to be deliveredand add all the resources.Click on Add more delivery conditions and select reeds, clay respectively and select all resources as step 4 then click next
Download the Target template and update overall targets for villages and rooms in columns
Household Target at a village level,Room Target at a village levelie 100, 300 for each row. And go back to workbench ui and select updated target file to upload and click next.Download the template for facility data and add one or more facilities using below steps. Then upload the saved file in workbench ui and click next.
Select Facility Type as Warehouse
Facility Status as Permanent
Capacity as 1000000
Boundary Code (check in sheet Boundary Data in downloaded template and choose any)
Facility Usage as Active
Download the template for user details. In this downloaded template add users with role Distributor, National Supervisor, Provincial Supervisor, District Supervisor, Team Supervisor and a Warehouse Manager and fill up other details. Then upload the saved file back in workbench ui and click next.
This step shows overview of all the steps data. Edit any step if required otherwise click on create campaign.









After Campaign Creation Steps
On successful creation wait for 5 minutes for internal processes to complete, then go to the home page and select My Campaign
Select the
Upcomingtab and select the created campaign.Check for the timeline and progress of creation of the campaign data. If it shows
Campaign successfully created, check for the download button for user credentials and download credentials.Share the credentials with users and start using mobile apk from project start date.
Last updated
Was this helpful?