Book a Demo

Author Topic: BPMN Pools no longer visible  (Read 4962 times)

mfo

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
BPMN Pools no longer visible
« on: December 19, 2011, 10:39:47 pm »
BPMN pools are no longer visible in my diagrams. The pool content is displayed normally.

Strange symptoms:  
  • The invisible pools are still there, they can be selected but they are invisible.
  • A new created pool will display as expected, but might go invisibel after some period.
  • Issue is present in all BPMN models
  • My collegues, working with the same model DO NOT have this issue!
  • Fresh install fixed the issue for a day!
  • Problem appeard after upgrade to 9.0. 9.1. did not help.
  • Dragging a "bad" pool in new diagram does not help. Still invisible.


Help! :-[

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: BPMN Pools no longer visible
« Reply #1 on: December 19, 2011, 11:11:39 pm »
What version do your colleagues use?

q.

mfo

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: BPMN Pools no longer visible
« Reply #2 on: December 20, 2011, 06:15:19 pm »
One uses 9.0 for sure, let me check the other one. They definetly write the same model.

mfo

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: BPMN Pools no longer visible
« Reply #3 on: December 20, 2011, 08:52:26 pm »
Confirmed, both are 9.0.
Is it possible that my pools go invisible when they write?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: BPMN Pools no longer visible
« Reply #4 on: December 21, 2011, 05:57:34 am »
I guess not. If so they would experience the same result. So it must be something specific to your machine. You should contact Sparx support directly as this behaviour is nothing which has been discussed here by anyone else.

q.

OpenIT Solutions

  • EA User
  • **
  • Posts: 555
  • Karma: +9/-1
    • View Profile
Re: BPMN Pools no longer visible
« Reply #5 on: December 23, 2011, 10:07:06 pm »
We have seen the same thing....it happens for use if a diagram was initially created using bpmn 1.1 and you try to view when using the bpmn v2 toolbox...there is a migration script you can run...

Under scripting create a 'New Project Browser Group' (if one doesn't exist), then create a new vbscript in the group, delete its content and paste the below in...select the package containing you bpmn, right click and run your script....

option explicit

!INC Local Scripts.EAConstants-VBScript

'
' This code has been included from the default Project Browser template.
' If you wish to modify this template, it is located in the Config\Script Templates
' directory of your EA install path.  
'
' Script Name: MigrateBPMN
' Author: Jon Ridgway
' Purpose: Migrate BPMN 1.1 elements to BPMN 2.0, update tagged values etc using built in migrate function
' Date: 14/12/2011
'
'
' Use built in migrate function to migrate the selected element from BPMN1.1 to 2.0
'
Sub MigrateElement (sGUID, lngPackageID)
      Dim proj as EA.Project
      Set proj = Repository.GetProjectInterface
      proj.Migrate sGUID, "BPMN1.1", "BPMN2.0"
      'refresh the model
      If lngPackageID<>0 Then
        Repository.RefreshModelView (lngPackageID)
      End If
End Sub
'
' Project Browser Script main function
'
sub OnProjectBrowserScript()
      
      ' Get the type of element selected in the Project Browser
      dim treeSelectedType
      treeSelectedType = Repository.GetTreeSelectedItemType()
      
      ' Handling Code: Uncomment any types you wish this script to support
      ' NOTE: You can toggle comments on multiple lines that are currently
      ' selected with [CTRL]+[SHIFT]+[C].
      select case treeSelectedType
      
            case otElement
                  ' Code for when an element is selected
                  dim theElement as EA.Element
                  set theElement = Repository.GetTreeSelectedObject()
                  MigrateElement theElement.ElementGUID, theElement.PackageID
                  MsgBox "Element Migration Completed",0,"BPMN 2.0 Migration"            
                  
            case otPackage
                  ' Code for when a package is selected
                  dim thePackage as EA.Package
                  set thePackage = Repository.GetTreeSelectedObject()
                  MigrateElement thePackage.PackageGUID, thePackage.PackageID
                  MsgBox "Package Migration Completed",0,"BPMN 2.0 Migration"
                  
'            case otDiagram
'                  ' Code for when a diagram is selected
'                  dim theDiagram as EA.Diagram
'                  set theDiagram = Repository.GetTreeSelectedObject()
'                  
'            case otAttribute
'                  ' Code for when an attribute is selected
'                  dim theAttribute as EA.Attribute
'                  set theAttribute = Repository.GetTreeSelectedObject()
'                  
'            case otMethod
'                  ' Code for when a method is selected
'                  dim theMethod as EA.Method
'                  set theMethod = Repository.GetTreeSelectedObject()
            
            case else
                  ' Error message
                  Session.Prompt "This script does not support items of this type.", promptOK
                  
      end select
      
end sub

OnProjectBrowserScript

mfo

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: BPMN Pools no longer visible
« Reply #6 on: December 23, 2011, 11:22:26 pm »
Thanks guys for all your help!

I have not (yet) tried the script suggestion but things start to make sense now.

Sparx support (Simon C.) responded within a day and asked me some questions which eventually solved the issue. I am not 100% sure yet what the exact problem was / is but it has to do with enabled / disabled MDG technologies for BPM (1.0, 1.1 and 2.0). When I removed the stereotypes for the pools they showed up again! I then enabled all BPM MDGs. Still had one pool missing. Removed the stereotype, added it again. The dropdowned offered three 'Pool' one of them worked.
Thanks
 :)  

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: BPMN Pools no longer visible
« Reply #7 on: December 28, 2011, 09:48:40 pm »
If you have multiple same entries in the drop down you should clean wash your Settings/UML/Stereotypes

q.