Process Mapping Logo

Process Mapping - Forums

Sharing 19 years of knowledge and experience

 
Metastorm BPM forums
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
praxkan

Veteran
Registered:
Posts: 142
Reply with quote  #1 
This might be a noob question - I've never used map segments, and documentation on it is almost non-existent.

Usecase:
---------

We have 3-4 procedures that have a form segment that basically show the same information, and the same variables. While reading up on map segments, it seemed like a good candidate for using map segments. 

Questions
========
If I create a library, and a map segment inside it with the form segment (and variables) - what happens if

a) I use this library in a procedure but don't pull the map segment onto the "parent map". Does it still create the segment's variables in the parent procedure ? [aka does it create database columns simply by the act of adding a library with segment, or does it create columns when the segment is actually USED in a map]

b) I use this library in the usecase procedures, delete the existing "local" form segment and use the library's segment in the forms instead
     - Will it delete and recreate the columns for variables (ie, will I lose all existing variable data for in flight/archived folders)
     - Will it retain the data and just use variable references from the library's segment
0
praxkan

Veteran
Registered:
Posts: 142
Reply with quote  #2 
The answer seems to be (tried this out for myself using test procedures and libraries)

a) It doesn't create variables simply by association. Only USING the map segment from a library creates variables (the act of dragging it onto a map)

b) Data is retained, it doesn't drop and recreate columns. As long as variable names are the same it just switches reference to the variables in the map segment (essentially they become variables in the procedure, the map segment is the reference I believe)...

Eitherway this seems like the best case scenario I was hoping for :)
0
Jerome

Avatar / Picture

Guru
Registered:
Posts: 5,507
Reply with quote  #3 
Yes, that sounds right, although there would be complications if the variables are defined in the containing process and the map segment as well.

Bear in mind for the future that this changes quite considerably in version 9.

__________________
Post an example, and we will have a much better idea what the problem is. In about 90% of posts, the problem is one of communication. Examples bridge that gap.
0
praxkan

Veteran
Registered:
Posts: 142
Reply with quote  #4 
Are map segments no longer supported in 9? 

Re: 7.6,

I noticed that if the variables were defined in the procedure and I then added a map segment to it with the same named variables, nothing happened - basically the references updated to use the right ones as one would expect

The thing that surprised me the most was, if the variables in the procedure was of a different type/size - metastorm actually threw a nice designer validation error !!! It actually validated, and said "x" variable in procedure is different from "x" in the map segment....very cool stuff.

0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:


Create your own forum with Website Toolbox!