SOLVED: Variable problem - type not maintained between connectors (they were not Global as required)

  • Last Post 22 August 2019
  • Topic Is Solved
RepCat posted this 21 August 2019

EDIT: The sole course of my problem was the COUNTER VARIABLE WAS NOT GLOBAL. I was also scratching my head, wondering why I couldn't scope the variables as global. But the answer was staring me right in the face -- in case this might help someone else, here's what I did:

  • Dragged a variable connector into Global Objects
  • Named it "Counter"

  • I used the same variable at the beginning of the workflow; and
  • as the variable for the "While"; and
  • as the variable for the "Expression" connector; and finally
  • once again as a variable (dragged from the Global Objects), with input from the "Expression" connector's Control port and Data port

An image of the workflow, as corrected, and functioning, is below. By the way, the variable farthest on the left is in fact named "Counter", but it has a value of "1", as shown. A screenshot of it is, in turn, below the entire workflow.

I have deleted the original post, as it would probably only serve to add to confusion, rather than subtract from it.


Attached Files posted this 22 August 2019

Hi Winter,


Local: By default, all variables are created locally and are usable within the context of the Activity they are created in.

Global: Global Variables can be created by dragging the variable component from the toolbox to the Global Objects folder under solution explorer. Global Variables, as the name suggests, can be used across Activities.

If you need any assistance while learning Intellibot, please contact us.

Thanks & Regards,

Alphonsa Kalapala.