構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Hello,

What about if I'm working on a BPMN model (it is active) and I want a MODEL SELECT BOX with some other specific BPMN models to be appeared?
I tried the commands:
1CC "CoreUI" MODEL_SELECT_BOX opened-models
and 
1CC "CoreUI" MODEL_SELECT_BOX loaded-models

But it also appears the active BPMN model that i' working on and i don't want it.Is there a solution for this? 

RE: Filtering MODEL_SELECT_BOX list
答え
16/04/11 7:43 Ioanna Ramoutsakiへのコメント
Hi,
You can solve this by closing the active model. Therefore it would not be in the list of the opened/loaded models:

1CC "Modeling" GET_ACT_MODEL
2SET nActiveModel: (modelid)
3CC "Modeling" CLOSE modelid: (nActiveModel)

If you need the model after the export again opened than open the model as follows:

1CC "Modeling" OPEN modelids: (STR nActiveModel)

RE: Filtering MODEL_SELECT_BOX list
答え
16/04/14 7:15 Mehmet Albayrakへのコメント
Hello,

I tried the above solution but I get the following errors (see the attachments) and finally a crash dump file which closes the program.
I don't know how to fix them. Is there a solution for them? The MOCevent.asc is a script which you had suggested me in order to solve the error: anotbk-889.
I also send you my own library and the script file which has the problem (lines: 237-253 and 652-756). 

Thank you in advance.

With regards,Ioanna
画像の固定

画像の固定

画像の固定

添付ファイル: MOCeventERROR.PNG (26.4k), MOCeventERROR0.PNG (21.8k), MOCeventERROR1.PNG (10.2k), event_AfterEditAttributeValue.asc (31.2k), extendigSeMFIS1.abl (22,199.8k)

RE: Filtering MODEL_SELECT_BOX list
答え
16/04/20 7:43 Ioanna Ramoutsakiへのコメント
Hi,
As the event MOCTimer (from your previous scenario) is reading if the Notebook of the instance is open or not, the model, which contains this instance, has to be loaded. This is the reason why there are 'undefined' parameters, because the values cannot be read. In order to fix them you have to choose one of the two functionalities.