Parametric Role Unit

Discussions about modeling and usage of organization structures in processes.
Forum rules
Make sure every topic contains information about your LSPS version and if relevant also your server OS, client OS, database name and version, and application server name and version.
Byron Glueck
 
Posts: 85
Joined: Thu Apr 26, 2012 8:17 pm

Parametric Role Unit

Tue Sep 24, 2013 11:23 pm

In 2.7, are parameters on parametric role units no longer optional in the calling code?

If not, please provide guidance for referencing all MyRole(parameter):
MyRole("")?

Radovan Cervenka
 
Posts: 48
Joined: Mon Feb 27, 2012 2:47 pm

Re: Parametric Role Unit

Wed Sep 25, 2013 10:56 am

There is no conceptual change of accessing roles in LSPS 2.7 from previous versions. Non-parametric roles are accesses as non-parametric functions, ie., Role1(), and parametric roles are accessed in two ways:

* Role2("aaa", "bbb", "ccc") - all parameters are specified, or
* Role2(["parameter2" -> "aaa"] ) - subset of parameters is specified as a map (each item represents parameter_name -> parameter_value)

In your case, you need to specify empty map, ie., MyRole([->])

Return to Modeling of organization structures

Who is online

Users browsing this forum: No registered users and 1 guest