Run Print Activity stopped working
We have a Workflow-5 that includes the "Run Print" activity that calls a Geocortex Print to generate a PDF map of a power outage event that stopped working recently. Nothing was changed at our end.
To test the WF Activity in isolation, we created a simple test Workflow that does nothing but call "Run Print" using the supplied sample A4 Print Template (with no arguments) and it fails with the same error. All the Print Templates work if we call them directly from Essentials, so I don't think the problem is with Geocortex Printing as such.
The attached log below was captured from that test and in there you can see the error is coming from https://apps.geocortex.com/workflow/latest/dist/hosts/gvh/bundle.js where it's possibly trying to "project" extent co-ordinates.
The error message is: lactivityId: 25code: "WF: activity error"error: TypeError: Cannot read properties of undefined (reading 'project')
and to me suggests the API may have changed and is now expecting a parameter?
Is anyone about to verify "Run Print" is still working from Workflow-5 running in Essentials with the HTML-5 Viewer?
Our Essentials site and the map services and layers it contains use WKID=4283 (GCS_GDA_1994).
Workflow here is version 5.26 but we have 5.24 on our production system and both are failing whereas they have been working fine for about 6 months. Geocortex Printing is at version 5.16 in the test environment and 5.15.1 in our production environment. Geocortex Essentials is SE ArcFM Web Version 4.14 with the HTML5 Viewer at Version 4.14.0.50. The Esri JavaScript API is version 3.34.
Here's the log capture:
loader.js:470 [error]: 12:11:46.376: The application is experiencing issues while performing this operation.
bundle.js:1 The workflow ended in an error: {command: {…}, userMessage: 'The application is experiencing issues while performing this operation.', error: l, activity: {…}}activity: action: "gcx:wf:geocortex::RunPrint"id: 25inputs: url: accessors: []code: "\"https://pwdgcesp05.pwc.local/portal/home/item.html?id=5cbfcbb13347442cac15119dcb5c6925\""source: "\"https://pwdgcesp05.pwc.local/portal/home/item.html?id=5cbfcbb13347442cac15119dcb5c6925\""[[Prototype]]: Object[[Prototype]]: Objectname: "runPrint1"parent: id: 2steps: Array(3)0: {inputs: {…}, transitions: Array(1), id: 27, parent: {…}, action: 'gcx:wf:core::Log', …}1: {inputs: {…}, transitions: Array(1), id: 3, position: '0,0', purpose: 'start', …}id: 3inputs: {}parent: {steps: Array(3), transitions: Array(2), id: 2}position: "0,0"purpose: "start"title: "Start"transitions: [{…}][[Prototype]]: Object2: {inputs: {…}, transitions: Array(2), id: 25, parent: {…}, action: 'gcx:wf:geocortex::RunPrint', …}length: 3[[Prototype]]: Array(0)transitions: (2) [{…}, {…}][[Prototype]]: Objectconstructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()__defineGetter__: ƒ __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()__proto__: (...)get __proto__: ƒ __proto__()set __proto__: ƒ __proto__()position: "-30,110"title: "Run Print"transitions: Array(2)0: {inputs: {…}, id: 26, source: {…}, target: {…}, position: '90,60 90,110', …}1: {inputs: {…}, id: 28, source: {…}, target: {…}, position: '90,180 90,230', …}length: 2[[Prototype]]: Array(0)[[Prototype]]: Objectcommand: {url: 'https://pwdgcesp05.pwc.local/portal/home/item.html?id=0d6a463d3ed64c528f7d950a62957b9b', inputs: {…}}error: lactivityId: 25code: "WF: activity error"error: TypeError: Cannot read properties of undefined (reading 'project')
at e.projectGeometry (https://pwdgcesp05.pwc.local/ArcFMWebViewer/Resources/Compiled/mapping.infrastructure.bundle.js:1:396523)
at https://apps.geocortex.com/workflow/latest/dist/hosts/gvh/bundle.js:1:38029
at i.e._execute (https://pwdgcesp05.pwc.local/ArcFMWebViewer/Resources/Scripts/bluebird.min.js:29:19559)
at i._resolveFromExecutor (https://pwdgcesp05.pwc.local/ArcFMWebViewer/Resources/Scripts/bluebird.min.js:30:14162)
at new i (https://pwdgcesp05.pwc.local/ArcFMWebViewer/Resources/Scripts/bluebird.min.js:30:6354)
at t.projectGeometry (https://apps.geocortex.com/workflow/latest/dist/hosts/gvh/bundle.js:1:37963)
at s.<anonymous> (https://apps.geocortex.com/workflow/latest/dist/hosts/gvh/bundle.js:1:31300)
at https://apps.geocortex.com/workflow/latest/dist/runtime/amdpile.js:1:949389
at Object.next (https://apps.geocortex.com/workflow/latest/dist/runtime/amdpile.js:1:949494)
at https://apps.geocortex.com/workflow/latest/dist/runtime/amdpile.js:1:948436
at i.e._execute (https://pwdgcesp05.pwc.local/ArcFMWebViewer/Resources/Scripts/bluebird.min.js:29:19559)
at i._resolveFromExecutor (https://pwdgcesp05.pwc.local/ArcFMWebViewer/Resources/Scripts/bluebird.min.js:30:14162)
at new i (https://pwdgcesp05.pwc.local/ArcFMWebViewer/Resources/Scripts/bluebird.min.js:30:6354)
at u (https://apps.geocortex.com/workflow/latest/dist/runtime/amdpile.js:1:948187)
at s.getWgs84Extent (https://apps.geocortex.com/workflow/latest/dist/hosts/gvh/bundle.js:1:31127)
at s.<anonymous> (https://apps.geocortex.com/workflow/latest/dist/runtime/bundle.js:1:143106)
at https://apps.geocortex.com/workflow/latest/dist/runtime/amdpile.js:1:949389
at Object.next (https://apps.geocortex.com/workflow/latest/dist/runtime/amdpile.js:1:949494)
at a (https://apps.geocortex.com/workflow/latest/dist/runtime/amdpile.js:1:948241)
at r (https://pwdgcesp05.pwc.local/ArcFMWebViewer/Resources/Scripts/bluebird.min.js:31:9367)
at i._settlePromiseFromHandler (https://pwdgcesp05.pwc.local/ArcFMWebViewer/Resources/Scripts/bluebird.min.js:30:14566)
at i._settlePromise (https://pwdgcesp05.pwc.local/ArcFMWebViewer/Resources/Scripts/bluebird.min.js:30:15369)
at i._settlePromise0 (https://pwdgcesp05.pwc.local/ArcFMWebViewer/Resources/Scripts/bluebird.min.js:30:16070)
at i._settlePromises (https://pwdgcesp05.pwc.local/ArcFMWebViewer/Resources/Scripts/bluebird.min.js:30:17400)
at r._drainQueue (https://pwdgcesp05.pwc.local/ArcFMWebViewer/Resources/Scripts/bluebird.min.js:29:3056)
at r._drainQueues (https://pwdgcesp05.pwc.local/ArcFMWebViewer/Resources/Scripts/bluebird.min.js:29:3117)
at drainQueues (https://pwdgcesp05.pwc.local/ArcFMWebViewer/Resources/Scripts/bluebird.min.js:29:1238)message: "[WF: activity error] Cannot read properties of undefined (reading 'project')"name: "Error"stack: "Error\n at l.e (https://apps.geocortex.com/workflow/latest/dist/runtime/bundle.js:1:6196)\n at l.a [as constructor] (https://apps.geocortex.com/workflow/latest/dist/runtime/bundle.js:1:6376)\n at new l (https://apps.geocortex.com/workflow/latest/dist/runtime/bundle.js:1:6745)\n at M.R.emitActivityError (https://apps.geocortex.com/workflow/latest/dist/runtime/bundle.js:1:423692)\n at https://apps.geocortex.com/workflow/latest/dist/runtime/bundle.js:1:424293\n at r (https://apps.geocortex.com/workflow/latest/dist/runtime/deps/bluebird_fork.js:39:10189)\n at i._settlePromiseFromHandler (https://apps.geocortex.com/workflow/latest/dist/runtime/deps/bluebird_fork.js:38:15181)\n at i._settlePromise (https://apps.geocortex.com/workflow/latest/dist/runtime/deps/bluebird_fork.js:38:15984)\n at i._settlePromise0 (https://apps.geocortex.com/workflow/latest/dist/runtime/deps/bluebird_fork.js:38:16685)\n at i._settlePromises (https://apps.geocortex.com/workflow/latest/dist/runtime/deps/bluebird_fork.js:38:17929)\n at c (https://apps.geocortex.com/workflow/latest/dist/runtime/deps/bluebird_fork.js:37:1557)\n at a (https://apps.geocortex.com/workflow/latest/dist/runtime/deps/bluebird_fork.js:37:1496)\n at r._drainQueues (https://apps.geocortex.com/workflow/latest/dist/runtime/deps/bluebird_fork.js:37:3106)\n at drainQueues (https://apps.geocortex.com/workflow/latest/dist/runtime/deps/bluebird_fork.js:37:1238)\n at MutationObserver.<anonymous> (https://apps.geocortex.com/workflow/latest/dist/runtime/deps/bluebird_fork.js:38:31829)"[[Prototype]]: auserMessage: "The application is experiencing issues while performing this operation."[[Prototype]]: Object
-
Offizieller Kommentar
Hi Graham,
This is unfortunately a regression in v5.27.0 which affects the Run Print and Run Report activities when running in GVH. We have a fix ready that we will be releasing in the coming days.
I apologize for the inconvenience.
-
Thanks Ken,
It's good to know we didn't break anything at our end. Looking forward to the fix.
Graham
0 -
Hi Graham,
We released a fix today. The SaaS environment was updated immediately. If you are using Workflow on-premises, there is a new version of the installer available now to download here:
https://apps.vertigisstudio.com/downloads/
1 -
Excellent - it's working now on our prototype environment.
I'll upgrade the others to 5.27.1 this week.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
4 Kommentare