Hexagon Geospatial
MENU

GeoMedia Smart Client

GeoMedia Smart Client community discussion board is where you can create, contribute and share information and knowledge in regards to configuring as well as working with GeoMedia Smart Client. Find your answers, share your knowledge and help build a strong GeoMedia Smart Client community.
Showing results for 
Search instead for 
Do you mean 
Reply
Regular Contributor
Posts: 170
Registered: ‎07-07-2016

How to redirect to another workflow form

Hi,

 

I have to two workflows with forms:

WORKFLOW1, FORM1

WORKFLOW2, FORM2

 

Is there a way to open FORM2 from FORM1?

Staff
Posts: 1,036
Registered: ‎10-18-2015

Re: How to redirect to another workflow form

Hi,

 

one option is to use executeRequest method to load another registered action for the second workflow. 

 

Stefano

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Regular Contributor
Posts: 170
Registered: ‎07-07-2016

Re: How to redirect to another workflow form

Stefano,

 

I don't understand how executeRequest should be used. Does it load action registered in Administrator>Application>Actions?

If so, what should be parameter values of IG.executeRequest?

i.e. I have an action which name is Action1.

 

IG.executeRequest({controller:'?', action:'?', postAction:'?'});

 

 

 

 

Staff
Posts: 1,036
Registered: ‎10-18-2015

Re: How to redirect to another workflow form

Hi,

 

here is a working sample using another action, IG.url

 

IG.url('Form/Index') // it is controller/action
	// .includeFormContext({ postForm: false }) // this is optional, useful if you want to pass parameters to the new form
	.urlParams({nodeid: 'OverviewEvents', workflow: 'HxGnLiveEvents'})
	.redirectTo()

HTH,

Stefano

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.