ManageEngine with
Comarch ERP in Poland
Asset synchronization, cost centers, user provisioning. API, webhooks, batch every 4h. Rotech case study.
A question about integrating ManageEngine with Comarch ERP is one of the most frequent we hear from Polish IT teams. The problem is simple: Comarch ERP holds data on organizational structure, employees, and assets, and ManageEngine ServiceDesk Plus needs the same data. If the data drifts apart, the helpdesk does not know who to assign an incident to, which cost center to bill, and audit data stops matching. In this article I cover the integration architecture, exactly how data synchronization works, how long deployment takes, and the typical scenarios we see in such projects.
Why ManageEngine + Comarch must be integrated
Comarch ERP holds the "source of truth" for the organization: who works in which unit, what the cost centers are, which assets belong to which department, and how much they are worth. ManageEngine ServiceDesk Plus needs the same facts to:
- Assign incidents to the right OU (Organizational Unit) - when an employee from the Logistics department reports an issue, the system must know they work there and route the ticket to the logistics team, not to general IT
- Allocate costs to the right cost center - the audit must show that support for Production Hall C5 went to CC 4521 (production), not CC 1200 (IT)
- Find a new employee at account setup - HR creates the employee in Comarch, ManageEngine must know they need email, VPN, and accounts in the relevant systems
- Track assets precisely - when IT assigns a new laptop to an employee, the inventory numbers must match between the Comarch and ManageEngine CMDBs
Without synchronization, data drifts within weeks. An employee moves to another department in Comarch but still sits in the old one in ManageEngine. A laptop changes owner in Comarch, but the helpdesk still has the old owner. The cost of drift (wrong allocations, an hour spent searching for an employee) exceeds the cost of integration many times over.
Rotech Group rule: if you have an ERP and an ITSM tool, integration is not "nice to have" - it is baseline. The cost of not synchronizing always exceeds the cost of the integration after one year.
What the integration synchronizes
User synchronization
- Import org structure from Comarch into Requester Groups in ManageEngine
- First name, last name, email, employee number, department, manager
- Update: any new employee in Comarch becomes a requester in ManageEngine within 4h
- Removal: employee leaves Comarch = requester disabled in ManageEngine
- Benefit: the helpdesk always has a current list, zero manual CSV imports
Cost center synchronization
- Import cost centers from Comarch into Cost Center in ManageEngine
- Code, name, budget, responsible department
- Mapping: an employee from Production → CC 4521, their incidents → CC 4521
- Reporting: end of month shows what Logistics support cost
- Benefit: accurate IT cost audit, data for controlling
Asset synchronization
- Import assets from Comarch into the ManageEngine CMDB
- Inventory number, type (laptop, monitor, server), value, purchase date, warranty
- Link to employee: laptop serial ABC123 → employee ID 1234
- Depreciation: each year the value changes per schedule
- Benefit: single source of truth for inventory, no duplicates
New employee provisioning
- HR sets up the employee in Comarch
- ManageEngine automatically creates a "New Employee Onboarding" ticket
- The ticket lists which accounts to create (email, VPN, domain) and what hardware to assign
- Assignee: IT team, SLA: 2 days
- Benefit: zero missed accounts, every employee is ready on day 1
Architecture - API, webhooks, batch sync
The integration can run three ways, depending on Comarch ERP capabilities and real-time requirements.
Option 1: Batch synchronization (REST API) - most common
Schedule: every 4 hours, a script pulls data from the Comarch API and pushes to the ManageEngine API. Simple to deploy, no dependencies, 4h delay acceptable for most cases. Implementation: Python/Node.js script, cron job on a server.
Option 2: Event-based (webhooks) - real-time but harder
Comarch sends a webhook event when: new employee, data change, deletion. ManageEngine reacts immediately. Requires: Comarch API with webhook support (only ERP XL), a webhook receiver on the ManageEngine side. Delay: under 1 minute. Risk: if a webhook fails, data can silently drift.
Option 3: Direct database read - last resort
Comarch database accessed directly (older versions without API). The script reads the users table directly and synchronizes. Risk: direct access to the production Comarch database is heavy, and if the schema changes during a Comarch upgrade, the script breaks. Not recommended, only when Comarch has no API.
Rotech Group recommendation: Batch sync (option 1) - simplest to maintain, fast enough (4h), no risk of webhook timeouts. If real-time is required (for example, provisioning), use a hybrid: batch every 4h + event-based for new employees only.
3-5 day implementation timeline
-
Day 1: Data audit and API analysis
The partner records access to the Comarch API, reviews documentation, tests endpoints against a test environment. Does the API return the org structure? Is there change history? Is there a backup strategy?
-
Day 2-3: Field mapping and prototype
Mapping: which Comarch field (e.g. "employee_code") maps to which ManageEngine field (e.g. "employee_id"). Prototype synchronization on test data. Verification: someone changes data in Comarch - does the sync apply the change correctly?
-
Day 4-5: Deployment, production testing, go-live
Deploy the script to the production server, configure cron, run the first full sync with real data (no cleanup). Monitoring: is the sync running cleanly? Any errors? Go-live at 22:00 before users come back. Next day: monitoring from 8:00 to 16:00.
Limits - Comarch XL vs Optima vs no API
| Comarch version | API | Documentation | Implementation time | Recommendation |
|---|---|---|---|---|
| Comarch ERP XL (enterprise) | Full REST API | Available | 5-10 days | Batch + event-based webhooks |
| Comarch Optima (SMB) | Limited REST API | Sparse | 3-5 days | Batch CSV sync + API |
| Comarch 2019 and older | No public API | Manual export only | 5-7 days + risk | Nightly CSV export, direct DB read (risky) |
| Other ERP (SAP, Oracle) | Advanced REST API | Strong documentation | 7-14 days | Batch + event + advanced mapping |
Three typical implementation scenarios
Below are three example scenarios showing how integration unfolds by Comarch ERP version. These are illustrations of typical situations, not descriptions of specific customers.
Illustrative scenario 1: mid-size factory on Comarch ERP XL
Comarch ERP XL exposes a full REST API. In this case the integration typically covers user, cost center, and asset synchronization in batch mode (e.g. every 4 hours). The main benefit is accurate IT cost auditing - the controller sees at month-end how much support each department cost, without manually maintaining spreadsheets.
Illustrative scenario 2: distributor on Comarch Optima
Comarch Optima targets the SMB segment with a simpler data structure. When the integration scope is small, a nightly CSV export-and-import via ManageEngine is often sufficient. A delay of around 12 hours is acceptable. A side benefit is automatic new-employee provisioning - instead of creating a helpdesk account manually, the system creates an onboarding ticket.
Illustrative scenario 3: older Comarch version with no public API
Older Comarch ERP versions may not expose a documented API. Two paths are typical: an export to CSV from a script on the Comarch side, or an ERP upgrade to a version with full REST API. CSV export is cheaper and faster to launch but limited - mainly de-duplication of data. An ERP upgrade unlocks faster two-way synchronization.
Takeaway from these scenarios: the newer the Comarch version and the more complete the API, the wider the integration options and the larger the benefit. For older versions without an API, consider upgrading the ERP before ITSM process complexity grows.
Troubleshooting - what goes wrong
-
Duplicate requesters in ManageEngine
The employee already exists in ManageEngine, and the Comarch API returns them again. Fix: unique key mapping (e.g. Comarch employee_id as a custom field in ManageEngine), duplicate check before POST.
-
Sync did not run at 2 AM
The cron job did not fire. Possible causes: no access to the Comarch network (firewall), timeout (slow API), stale credentials. Fix: monitoring alerts (Slack ping on sync failure), retry logic, extended timeouts.
-
Field changed in Comarch but not updated in ManageEngine
Batch sync only updates existing records, it does not delete. Data in Comarch changed (email), but the old email remains in ManageEngine. Fix: upsert logic (update if exists, insert if not, but always pull the latest state).
-
Employee removed from Comarch but still active in ManageEngine
The sync only adds/changes, it does not delete (safety first). Fix: a separate sync for removals, disable rather than delete (keeps history), and a weekly review report.
Summary and checklist
Checklist before deploying the ManageEngine + Comarch integration:
- Check the Comarch version: XL, Optima, or older? Is the API available?
- API access: can IT/Admins provide access to the Comarch API? Are credentials available?
- Documentation: do we have the Comarch API documentation? If not, contact the Comarch partner
- Test data: can we deploy to a test environment before production?
- Timeline: do we know the implementation time (3-10 days depending on version)?
- Schedule: is batch sync every 4h enough, or is real-time required?
- Monitoring: sync monitoring plan - for example, a daily report to Slack
- Rollback: do we know how to roll back if something goes wrong?
FAQ - common integration questions
Why integrate ManageEngine with Comarch ERP?
Comarch ERP holds data on organizational structure, cost centers, and users. ManageEngine ServiceDesk Plus needs the same data to manage incidents. Synchronization eliminates duplicate data entry and ensures the helpdesk reflects ERP reality. The cost of drift (wrong allocations, incidents assigned to the wrong people) exceeds the cost of integration.
What data does the integration synchronize?
Typical scope: users (org structure import), cost centers (mapping ERP CC to Cost Center), assets (import from Comarch CMDB), and new-employee provisioning (auto-ticket). Schedule: every 4 hours (batch sync) or real-time (event-based webhooks).
How long does the integration take?
A ManageEngine + Comarch ERP integration typically takes 3-10 working days. Schedule: day 1-2 data and API analysis, day 3-4 field mapping, day 5-8 connector implementation, day 9-10 testing and go-live. Go-live runs overnight before users arrive. Timing depends on the Comarch version (XL faster, Optima longer) and mapping complexity.
What is the difference between Comarch XL and Optima for integration?
Comarch Optima (for SMBs) has a simpler data structure and a less advanced API - integration takes 3-5 days. Comarch ERP XL (for larger companies) has a richer API with multi-entity support - integration takes 5-10 days. Both expose REST APIs, but XL documentation is more thorough. For startups/SMBs: Optima + ManageEngine Professional is enough.
What if Comarch ERP has no API?
Older Comarch ERP versions may have a limited API. Options: (1) Nightly CSV export from Comarch, imported by ManageEngine (simplest, up to 12h delay), (2) Direct database read - custom script reads the Comarch database (riskier), (3) Upgrade Comarch to a version with full REST API (best for the long term). Rotech Group typically recommends option 1 or 3.
Do you run Comarch ERP and ManageEngine? Check whether integration makes sense for you.
Rotech Group audits your Comarch version, API availability, and proposes an implementation timeline. No obligation, no cost.
Book a consultation →