Activities¶
An activity is a tracked operation in JIM. Every significant action creates an activity record with status, timing, and summary statistics: Run Profile executions, schema imports, data generation, certificate management, and configuration changes all produce activities. Example data generation is its own Data Generation activity type, separate from configuration changes to an Example Data Template.
Activities are the primary mechanism for monitoring synchronisation progress and troubleshooting issues. Run Profile activities additionally include detailed per-object execution items, so you can drill from a high-level "5 errors" counter down to the specific objects that failed.
Lifecycle¶
Activities move through a small set of statuses:
- In progress
Currently executing. - Complete
Finished successfully. - Complete with warning
Finished, but some objects hit a problem JIM recognises (a rejected import object, an export refusal its Connector classified), or a safeguard stepped in. Each object's error is on its execution item. - Complete with error
For a Run Profile execution, at least one object hit an error JIM did not anticipate: a fault in JIM, or an export failure its Connector could not classify, such as a dropped connection. For a password delivery, the target system refused the password, and the message says why. - Failed with error
Failed due to a critical error before or during execution, or every object the run recorded had an error. An import records nothing for an object that has not changed, so an import fails this way only when every object it read had an error; one bad object among unchanged ones completes with a warning. - Cancelled
Cancelled before completion.
Troubleshooting Synchronisation explains each warning and error.
Initiated by¶
Every activity records who or what triggered it: a user (with their Metaverse Object reference), an API key, the system itself, or an unidentified, unauthenticated caller (Anonymous) for a failed sign-in, API key or SSO access token attempt. This is the audit trail. An activity a Schedule produced names the Schedule, and links the Schedule Execution while it is kept; System is JIM's own work, such as seeding and housekeeping. Each kind is shown as a chip of its own, the same on every page that shows it.
Summary statistics¶
Activities for Run Profile executions carry counters relevant to the operation type, named here as the REST API and Get-JIMActivity return them:
- Imports
totalAdded,totalUpdated,totalDeleted. - Synchronisation
totalProjected,totalJoined,totalAttributeFlows,totalDisconnected,totalDisconnectedOutOfScope,totalOutOfScopeRetainJoin(out of scope, but kept joined),totalDriftCorrections(drift found, and a correcting Pending Export staged),totalProvisioned. - Exports
totalExported,totalDeprovisioned,totalPendingExports.Get-JIMActivityStatsand the Activity's stats endpoint also returnfollowUps: where the Initial Passwords and Exchange recipient changes the run queued stand now (delivered, retrying, parked and so on), counted by state. Unlike the other counters, these change after the run as the work is delivered, and the run's row on the Activity list shows them at a glance. - Other operations
totalCreated: Metaverse Objects created directly, such as by example data generation, rather than by projection. - All operations
totalErrors,totalActivityTime,executionTime.
The interactive API reference documents the full schema.
A Delta Import from a directory first checks that it can read where the directory records its changes; Delta Import change source checks says how each outcome ends the run.
Import watermarks¶
An import's detail page says, in its Connector's terms, what range a Delta Import read, or where a Full Import left the next Delta Import to start; Import Watermarks lists how each Connector's watermark reads.
Run Profile Safeguards (export limits)¶
Every Export activity carries three withheld counters: exportCreatesWithheld, exportUpdatesWithheld and exportDeletesWithheld. Each is 0 when its Run Profile has no limit for that change type, or the pending count did not exceed it; otherwise it is every Pending Export of that type left untouched (still Pending), because a run that would exceed a limit attempts none of that change type at all. See Run Profiles > Safeguards for setting the limits.
When an Export activity withholds anything, it completes as Complete with warning, and its warning message carries one sentence per withheld change type, for example:
Max deletes is 100, but 342 deletes were pending, so none were attempted and all 342 remain pending. Check what staged them, then raise or clear the limit on this Run Profile, or run an Export Run Profile without the limit.
Run Profile Safeguards (import deletion limits)¶
Every Full Import activity that ran deletion detection, and every Delta Import activity that completed, carries a detectedDeletionsWithheld counter. It is 0 when the Run Profile has no deletion limit, or the run's deletions did not exceed either limit. Otherwise it is how many Connected System Objects the run left exactly as they were instead of marking them as deleted: for a Full Import, the objects deletion detection no longer found; for a Delta Import, the objects the Connected System reported as deleted. It is null on every other activity, including a Full Import that imported zero objects and so skipped deletion detection entirely. See Run Profiles > Safeguards for setting the limits.
When a run withholds its deletions, it completes as Complete with warning, and its warning message names the limit, how many objects were involved and what share of the Connected System that is. A Delta Import's warning reads, for example:
The Connected System reported 342 objects (7% of 4,880) as deleted, above this Run Profile's limit of 100; none were marked as deleted. Each Delta Import will report them again until this is resolved. Check what deleted them in the Connected System. If the deletions are intended, raise the limit, or run a Delta Import Run Profile without these limits to let them through.
When a Full Import activity's deletion detection is refused, it completes as Complete with warning, and its warning message names the limit that tripped, for example:
Deletion detection found 4,120 objects (41% of 10,000) no longer in the Connected System, above this Run Profile's limit of 10%; none were marked as deleted. Check the Connected System's scope and the connector's filters, or raise the limit, then run the Full Import again.
A refused detection also means the run does not count as a successful Full Import for the post-clear reconciliation gate; see Run Profiles > Safeguards > Full Import.
Execution items¶
A Run Profile execution records an execution item for each object it touched, with what happened to it and any error, so you can go from a run's error counts to the objects behind them. Execution Items covers what each one records, and how its detail page traces what caused a change and what it caused in turn.
Scheduled Metaverse Object Deletion¶
When a Metaverse Object's deletion grace period expires, the worker's housekeeping deletes it, queues deletes for any accounts covered by an export Synchronisation Rule whose Deprovisioning Action is Delete, and stages membership-removal Pending Exports for any objects (such as groups) that referenced it. Each housekeeping batch that does work is recorded as a Scheduled Metaverse Object Deletion activity, with an execution item per deleted Metaverse Object, per staged membership-removal Pending Export, and per failure. Deprovisioning deletes are reported on the deleted object's own item, nested beneath its Metaverse Object deleted outcome, as on a synchronisation run. Each deletion's item names the run that scheduled it, so why it happened reaches back across the grace period to the change that started it. A pass with nothing to delete records no activity.
Housekeeping runs while the Worker has no other work, at most once a minute, and deletes up to 50 Metaverse Objects a pass, so a large number of expired deletions clears over several passes. A deletion that fails is recorded on the Activity and tried again on the next pass. A Metaverse Object whose deletion fails during a synchronisation run, where no grace period applies, is left for housekeeping to delete instead.
The activity's detail page shows the batch like a Run Profile execution: summary cards (Metaverse Objects Deleted, Recall Pending Exports, Object Types, Errors) above a searchable, filterable table listing each deleted object by name and type, with any per-object errors alongside.
Parent and child activities¶
Some Activities group others beneath them. The System Initialisation Activity groups the built-in objects JIM creates for itself as it starts, such as Roles and Schedules, one child Activity each; and a password change's Activity groups the Activities recording its delivery to each Connected System. The REST API returns each Activity's parentActivityId, lists an Activity's children, and filters the list with hasChildActivities.
A Schedule's steps are not grouped this way: each step's Activity carries its Schedule context instead, and the Schedule Execution view links each step to its Activity.
Schedule context¶
An Activity that a Schedule produced says so, naming the Schedule and which of its steps this was ("step 3 of 6") and linking back to the Schedule Execution it belonged to. It appears on the Activity's detail page and in the side panel of the Operations > Activity tab's Completed section, and is absent for work nobody scheduled.
The attribution is recorded on the Activity itself rather than looked up through the execution, so it survives the Schedule later being renamed or deleted. Activities are a permanent audit record; deleting a Schedule does not rewrite the history of what it did.
The same attribution reaches automation: Get-JIMActivity and the Activities REST endpoints carry ScheduledByScheduleName, ScheduledByScheduleId, ScheduleExecutionId and ScheduleStepIndex on each Activity, and leave them empty for work nobody scheduled. See the Activity cmdlets.
Target links¶
On an activity's detail page, the Target links to where that object is managed: a Synchronisation Rule change opens the rule's detail page, a schema import opens the Connected System's Schema tab, and so on. Service Settings have no page of their own, so their Target link opens the Service Settings page with a matching search already applied, taking you straight to that setting instead of the full list.
Filtering the Activity list¶
The Activity page in the admin portal filters a busy list down to what you are reviewing:
- Category quick-filter
One click isolates a whole class of activity: Configuration (Connected Systems, Synchronisation Rules, Schedules, schema, settings), Identity (Metaverse Objects), Synchronisation (Run Profile executions, Temporal Scope Reconciliation and Scheduled Metaverse Object Deletion), System (history cleanup, seeding, resets, data generation), Security (interactive sign-in, API key and SSO access token authentication events), or Passwords (a password change fanning out to the systems an identity has accounts in, and what each of them did with it). Selecting a category sets the Type filter to the matching target types; you can then fine-tune individual types. - Detail filters
Operation, outcome, type, status, initiator (user, API key, or system), a created date range, and a target/initiator search. - Schedule filters
Under Filters on the Operations > Activity tab, Scheduled only narrows the list to work a Schedule produced, and Schedule narrows it to particular ones. Combined with Result, this answers whether a step has been failing repeatedly or only once: filter to the Schedule, set the Result to the failure you saw, and read down the Completed section's dates. - Shareable URLs
The filter state is reflected in the page URL, so a filtered view can be bookmarked or shared; opening the link reproduces the same view. For example, reviewing user-made configuration changes over the last week is one URL an auditor can return to each review cycle.
An Activity is a whole operation, such as a synchronisation run touching thousands of objects. To find changes to particular objects by how their attributes changed (everyone whose status changed to Disabled this month, say), use Object Changes instead.
Automation gets the same filters, not a subset of them. GET /api/v1/activities accepts search, targetType, initiatorType, operation, outcome, status, initiatedById, initiatedBy, hasChildActivities, createdFrom, createdTo, connectedSystem, runProfile, scheduledOnly and scheduleId; repeat a query parameter to pass several values, which combine with OR within that filter, while separate filters narrow each other. Get-JIMActivity exposes the same set as parameters (see the Activity cmdlets). The portal, the REST API and PowerShell all run the same query, so the same filters return the same Activities on every surface.
Configuration Change History¶
Changes to configuration objects are recorded on the Activity itself. When you create, update, or delete a Synchronisation Rule, Connected System, Schedule, Metaverse Object Type, Metaverse Attribute, Trusted Certificate, API Key, Role, Predefined Search (including its criteria groups and criteria), Connector Definition (its capabilities, setting definitions, and files), Example Data Set, or Example Data Template, or update or revert a Service Setting, JIM captures a complete, versioned snapshot of the object's post-change state and carries it on the originating Activity, alongside who made the change, when, and an optional reason. This is how JIM answers "what did this rule look like last week, and who changed it" without a separate audit store.
A few properties of this model:
- Versioned snapshots, not diffs
Each change stores the full post-change state and a per-object version number, so any two versions can be compared and the change rendered as a structured diff. - Secrets are redacted
Sensitive values (for example encrypted Connected System settings, encrypted Service Setting values, or a Schedule step's SQL connection string) are never stored. A changed secret is recorded as changed, using a keyed hash that proves it differs without revealing it; its value is never written to, or shown from, the history. Trusted Certificate history likewise stores only metadata, never the certificate material itself. API Key history stores metadata and Role assignments only; the key secret never appears in the history in any form, not even as a hash. - Carried with the Activity
Because the snapshot lives on the Activity, retrieving the full Activity record also retrieves its change payload; no separate call is needed. - Says when it took effect
A change to an import Synchronisation Rule or an Object Matching Rule shows on its Activity either Applied by the synchronisation that applied it, or Awaiting the next synchronisation of its Connected System. That synchronisation's Activity has a section, Processed every {Type} object, listing the changes behind each Object Type it processed in full and whether it applied them.Get-JIMActivity -Idreturns both asConfigurationChangeSynchronisations; see Changes awaiting synchronisation. A Synchronisation Rule scope change saved from a current Configuration Change Preview also shows, beside Applied by, what the preview predicted and what the synchronisation did (Projected and Joined), where that synchronisation applied no other change and both numbers measure the same thing; it is returned asPredictionComparison. - Retained on its own schedule
Configuration Change History is kept for theHistory.ConfigurationChangeRetentionPeriodService Setting (default ~10 years), independently of, and typically much longer than, the general history retention period. The routine history cleanup never touches it; only its own retention period removes it.
Coverage
Configuration Change History covers every administrator-mutable configuration type, the ones listed above. It is enabled by default (set the ChangeTracking.ConfigurationChanges.Enabled Service Setting to disable it; disabling does not delete existing history). Connected System Object and Metaverse Object change history is a separate, related capability.
JIM's own seeding of built-in configuration (built-in Roles, Schedules, and similar) is recorded under a single System Initialisation Activity per startup that applies changes, with each seeded object appearing as a child Activity carrying its version-1 snapshot. A normal restart that changes nothing records nothing.
Retrieve Configuration Change History with the Get-JIMConfigurationChangeHistory cmdlet (paged summary, single-version diff, or compare two versions) or the equivalent change-history endpoints in the interactive API reference. To record a reason with a change, enter it in the optional "Reason for change" prompt that appears when saving from the admin portal, pass -ChangeReason to the write cmdlets, or use the optional reason field on the REST write requests. The reason is optional in all three; cancelling the admin portal prompt abandons the save.
When an object is deleted, its final captured state is shown on the delete Activity itself, rendered as a removal, together with who deleted it and any reason given. This is where to look for the history of something that no longer exists: the object's own Changes tab and its by-id change-history lookup are gone with it, but opening the delete Activity from the Activities list shows exactly what the object looked like at the moment it was removed. As with every snapshot, secrets are recorded as changed but never stored.
Live progress¶
While a Run Profile runs, its Activity reports progress live: in the portal, from GET /api/v1/activities/{id}/progress, and with Get-JIMActivity -Follow. Live Progress describes what each shows, and the steps a run reports.
Common workflows¶
Monitoring a Run Profile execution:
- Trigger the Run Profile; capture the returned activity ID
- Follow its live progress (the portal's Activity page,
Get-JIMActivity -Follow, or the progress endpoint) until it reaches a terminal status - If it finished with errors, retrieve the execution items to inspect the per-object failures
Reviewing recent operations:
- List activities, filtered by name, target type, or initiator as needed
- Retrieve the activities you're interested in for full detail
- For a Schedule, filter the Activity tab to that Schedule (Operations > Activity), or open the Schedule Execution, which links each step to its Activity
Manage Activities¶
- JIM portal
Activities area of the admin UI - PowerShell
Activities cmdlets (Get-JIMActivity, etc.) - REST API
Activities endpoints in the interactive API reference
See also¶
- Object Changes: search changes to Metaverse Objects by attribute and value
- Run Profiles: the operations that produce most activities
- Schedules: the Activities a Schedule's steps produce, and the Schedule Execution view that links them
- Security Audit Events: interactive sign-in, API key and SSO access token authentication events, aggregation, and their own retention period