VGW5.30.1: Workflow fails to run when adding it in “App>Application Initializing”
Hi All,
Workflow fails to run when adding it in “App>Application Initializing” despite the fact it run successfully when add it in tool bar
I build a workflow that contain an image which I inserted it into display form to be displayed as a splash page during initializing the app, The workflow runs successfully when run it separately in toolbar, but it fails to run when put it in App>Application Initializing as a workflow,
What might be the issue here
The code of the workflow
{
"_properties": {
"isServerWorkflow": false
},
"components": [
{
"id": 1,
"steps": [
{
"id": 2,
"inputs": {},
"position": "0,0",
"purpose": "start",
"title": "Start",
"transitions": [
{
"id": 32,
"inputs": {},
"position": "90,60 90,150",
"sourceConnector": "bottom",
"target": {
"id": 30
}
}
]
},
{
"action": "gcx:wf:forms:form:DisplayForm",
"id": 30,
"inputs": {
"form": {
"accessors": [],
"code": "resources.forms[values.id]",
"values": {
"id": 31
}
},
"reset": true
},
"name": "form1",
"position": "-30,150",
"title": "Display Form"
}
]
},
{
"id": 8,
"steps": [
{
"id": 9,
"inputs": {},
"position": "0,0",
"purpose": "start",
"title": "Event",
"transitions": [
{
"id": 20,
"inputs": {},
"position": "90,60 90,160 100,160 100,180",
"target": {
"id": 19
}
}
]
},
{
"action": "gcx:wf:core::Delay",
"id": 19,
"inputs": {
"duration": {
"accessors": [],
"code": "7000",
"source": "7000"
}
},
"position": "-20,180",
"title": "Delay",
"transitions": [
{
"id": 52,
"inputs": {},
"position": "100,210 100,350",
"sourceConnector": "bottom",
"target": {
"id": 50
},
"targetConnector": "top"
}
]
},
{
"action": "gcx:wf:core::Exit",
"id": 50,
"inputs": {},
"position": "10,350",
"title": "Exit"
}
],
"title": "load-image1"
}
],
"deploymentConfig": {
"supportedApps": {
"GWV": true
}
},
"designerVersion": "5.30.1+1",
"forms": [
{
"defaults": {},
"elements": {
"footer": {
"enabled": true,
"items": {},
"section": "footer",
"type": "ButtonBar"
},
"header": {
"section": "header",
"title": {
"markdown": ""
},
"type": "Header"
},
"image1": {
"enabled": true,
"index": 0,
"rowIndex": 0,
"rowNumber": 0,
"size": {},
"titleLocation": "above",
"type": "Image",
"value": "https://lubnaj-pc.molg.pna.ps/adaptor/sharing/rest/content/items/93d662926f3d4fc190cf8e330cc63fb5/data"
}
},
"id": 31
}
],
"licenseInfo": {
"licenseUrl": "https://lubnaj-pc.molg.pna.ps/vertigisstudio/workflow/service/auth/license"
},
"start": {
"id": 2
},
"transitions": [
{
"branch": "load$image1",
"id": 10,
"inputs": {},
"source": {
"id": 30
},
"target": {
"id": 9
}
}
]
}

Best,
Lubna
-
Hi Lubna,
There are certain events you do not want to be part of the app initializing, and a workflow with a form in it is one of them. In fact, if you look at your screen shot where it says the 'Warning' that says it all there. What you'll want to do is add it to the event when the Map gets initialized here:
2 -
Hi Ryan,
Thank you for your help,
What I am looking for is the initializing app or map but not initialized evets, so the behavior that I want is to displaying an image until the map is initialized,
In Geocortex essential was easy to add it in the manager as a below screenshot
So, What I did to build workflow that read the image in display form and add an delay to close the workflow after 10 sec but the behavior not as expected as I mentioned in the previous comment

Any help will be very appreciated
Best,
Lubna
1
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare