CMDBuild Forum

Workflow manageRelation extended attribute

Hi,

 

is there any example or tutorial how to include other than N:1 relations to workflow process (multiple selections / relation to multiple cards of some class)?

I need to create process where user needs to be able to select and ass multiple users to process.

I found manageRelation extended attribute which adds button for managing relation, but how I can get id of current process in manageRelation:

DomainName="EmployeesDomain"
ClassName="UM_Test_2"
ObjId=??? <-- How to get current process id
ButtonLabel="Employees"
EnabledFunctions="11111111"
Required=1
IsDirect=1

 

Many thanks
Best regards
Zoran

Hi

,

the "manageRelation" widget is useful to view, add, delete relations with a specific card of a specific class.

If you need to select more cards from a class you can use the widget "linkCards".

With this widget you can specify if it will be possible to select of one or more cards (parameter "SingleSelect") and you can specify a CQL filter to list only some cards.
You will then find the selected cards in the output array "CheckArray".
CMDBuild team

Hi,

Sorry by english. But i would like to make a select of more cards. I don"t find or i don't see the widget linkcard anywhere.

I use the last version of cmdbuild.

Can u tell me please ?

 

 

Previously Tecnoteca wrote:
Hi

,

the "manageRelation" widget is useful to view, add, delete relations with a specific card of a specific class.

If you need to select more cards from a class you can use the widget "linkCards".

With this widget you can specify if it will be possible to select of one or more cards (parameter "SingleSelect") and you can specify a CQL filter to list only some cards.
You will then find the selected cards in the output array "CheckArray".
CMDBuild team

 

Hi,

 

Thk about your answer but , when i select the tab "Widget", in the button Add, i just have 5 choices :

Create report, calendar,Start workflow, Ping, Create or Modify Card.

 

I don't have like in your doc : manageRelation and linkcard.

 

So , how to active the manageRelation and linkcard.

 

Previously Will wrote:

Hi,

Sorry by english. But i would like to make a select of more cards. I don"t find or i don't see the widget linkcard anywhere.

I use the last version of cmdbuild.

Can u tell me please ?

 

 

Previously Tecnoteca wrote:
Hi

,

the "manageRelation" widget is useful to view, add, delete relations with a specific card of a specific class.

If you need to select more cards from a class you can use the widget "linkCards".

With this widget you can specify if it will be possible to select of one or more cards (parameter "SingleSelect") and you can specify a CQL filter to list only some cards.
You will then find the selected cards in the output array "CheckArray".
CMDBuild team

 

 

You can use the manageRelation and linkCard widget only in a workflow (see the CMDBuild Workflow Manual).

If you have to work on a data card, you can use the Relations

TAB.

CMDBuild Team