SAP Knowledge Base Article - Public

3576300 - Errors occur when synchronising content that includes executables and assignments from SAP Signavio Process Manager to SAP Solution Manager

Symptom

When synchronising content from Process Manager to Solution Manager that contains configuration for executables and their assignments to Tasks and Activities, an error occurs with the following scenario:-

Project Storage Initialization has failed with message: Cannot read properties of undefined (reading 'rep')

Abbreviations used in this note refer to the following applications 

  • SIG - SAP Signavio Process Manager
  • SOL - SAP Solution Manager 7.2
  • BPMC - business process model connector for SAP Signavio solutions

Environment

Using business process model connector for SAP Signavio solutions to synchronise process model related data between SAP Solution Manager 7.2 and SAP SIgnavio Process Manager.  

This note specifically relates to synchronisations that involve executable objects and their assignment to Tasks and Activities in SAP Signavio Process Manager

Sync Sequence required to generate the error

  1. SOL>SIG Process Structure
  2. SOL>SIG Executable Library + Executables
  3. SIG>SOL Process Structure

The error will be similar to the one shown in the screenshot below:-

Reproducing the Issue

Steps to reproduce the error 

In SOL, create the following structure:

  • Business Processes > Folder > Scenario > Process Model > Process Step 1 > Elements of:
    • Executable 1 (Transaction > SU01)
  • Libraries > Process Steps > Process Step 1 > Elements of:
    • Executable 1 (Transaction > SU01)
  • Libraries > Executables > Executables_LCG_Folder > Executable 1 (Transaction > SU01)

Create new sync project:

  • Map SAP Process Steps
  • Map Executables Library + Executables Assignments
  • No need to map other attributes

Run the following sync runs:-

Sync 1: SOL>SIG Process Structure
Sync 2: SOL>SIG Executable Library + Executables Assignments

In SIG, delete Executable 1 assignment (Dictionary Link) directly from Task in BPMN + save + refresh page.

  • DON'T delete Executable 1 assignment from Task/Activity in Dictionary.
  • Note: when user deletes assignment directly from the Task in BPMN but the assignment is still assigned to the linked Activity in Dictionary, the dictionary icon next to assignment in BPMN SHOULD turn "red" to indicate different values between Task (in BPMN) and Activity (in Dictionary), however, as shown in screenshot below, the dictionary icon remains "grey", which incorrectly indicates that the user has not deleted the assignment from the task.

In SIG, structure should now be:

  • Shared Documents > Folder > Scenario > Process Model > Process Step 1 > My Executable Assignment:
    • Executable 1 (still displays grey dictionary icon next to Task in BPMN even though user attempted to remove this assignment)
  • Dictionaries > SAP Process Steps > Process Step 1 > My Executable Assignment:
    • Executable 1
  • Dictionaries > My Executables Dictionary > Executable 1 (Transaction > SU01)

Run the final sync run:- 

Sync 3: SIG>SOL Process Structure 

The following error will be thrown

  • ⁠Project Storage Initialization has failed with message: Cannot read properties of undefined (reading 'rep')

==============================

Cause

Whilst the assignment to the Task and / or Activity has been removed from the UI, the underlying data itself has not been deleted correctly.
So the issue is not always obvious in the SIG UI but is still present in the data returned via the API.

This is due to a current known issue in SAP Signavio Process Manager

Resolution

Workaround 1 - Re-assign assignment to Task

  • In SIG, go to BPMN, select Task and re-assign the Executable Assignment that was previously removed. 
  • Re-run SIG>SOL Process Structure for same sync project and sync will run without error

 

Workaround 2 - Also delete Assignment from Activity (and re-assign to Task and/or Activity, if required)

  • In SIG, go to Dictionary > select Activity > delete the same Executable Assignment from Activity.
  • In SIG, go to BPMN > select Task > note that Executable is no longer assigned to Task
  • Re-run SIG>SOL Process Structure for same sync project and sync will run without error
  • If user wants, they could then re-assign the Executable assignment to the Activity and/or Task

Workaround 3 - If only just starting with use of synchronising executables, delete existing SAP Executable attribute and recreate using a new name

  • In SIG, go to the attribute creation screen and remove the existing attribute that is assigned to both Tasks & Activities
  • In SIG, create a new attribute to hold the executable assignment and assign it to the required objects
    • Follow the instructions carefully from the following SAP Help page - click here 
  • In BPMC, update the attribute  'Executable assignment to Task and Activity' on step 3 of synchronisation project configuration to use the new attribute created in step 2
  • Rerun SIG>SOL process structure for the same sync project and the sync should run without an error

Keywords

SAP Solution Manager 7.2 SAP Signavio Process manager business process model connector for SAP Signavio solutions SolMan connector , KBA , BPI-SIG-CA-BMB , business process model connector for SAP Signavio solutions , Known Error

Product

SAP Signavio Process Manager all versions