M.App Enterprise Discussions

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Reply
Contributor
Posts: 36
Registered: ‎09-19-2016

update SESSION.Map.MapSelection values

Dear community,

during my workflow I need to obtain the IDs of the currently selected elements in map, I found that "{SESSION.Map.MapSelection}" can do this BUT it looks like it keeps the IDs of the selected elements at workflow ACTIVATION, I can't get the currently selected ids (I checked the values populating a table).

How can I force to update "{SESSION.Map.MapSelection}" values?

 

Thank you,

Massimiliano

Technical Evangelist
Posts: 833
Registered: ‎11-12-2015

Re: update SESSION.Map.MapSelection values

Hi Massimilano,

 

{SESSION.MAP.MapSelection} retrieves the selected feature(s) from the current SESSION as you have noted. If it is not doing that then there is an issue that should be investigated further and I suggest logging a support ticket for that investigation.

 

Activating a workflow doesn't inherently change the MapSelection.

It would be possible to clear by making the layer 'Inactive' in the Client or using the mouse clicks to deselect item(s) from the Map prior to launching the Workflow.