0

我发现了两个 BluePrism 业务对象。我需要打开应用程序 1,从中读取一条数据,然后通知应用程序 2/第二个业务对象从另一个应用程序读取的值。

我知道我可以将存储值的数据项公开给业务对象中的其他页面,但不知道如何将其公开给不同的业务对象。

我看到 Start 和 End 阶段具有输入和输出参数,但这似乎在我想要的业务对象之间不起作用。我知道可以像我想要的那样全局读取环境变量,但我不确定我是否可以以编程方式向它们写入值,以及这是否是正确的方法。

有谁知道 BluePrism 是如何实现的?谢谢

4

1 回答 1

1

You are correct that Environment variables are immutable inside Blue Prism code. They are not designed to be used to pass data directly between two objects. They're instead meant to function as static constants that should only be required to be modified when moving between various environments.

The way you'd accomplish your task in Blue Prism would be something along the lines of the following:

  • Read the necessary data in an action, and have the data item to which the data was read be set as an output of the action (configured in your action's End stage properties).
  • Configure the Start stage of your second application's action to accept and utilize the input of the data read from the first object.
  • Create a Process that ties these objects together with action stages and local data items.

The concept of Processes vs. Objects and inputs/outputs are covered extensively in official Blue Prism documentation (available within the Blue Prism portal, under the "Documents" tab):

  • Blue Prism Foundation Training
  • Blue Prism Object Design Guide
  • Blue Prism Process Creation Guide
  • Blue Prism Best Practice Build Overview
于 2018-02-14T02:30:43.433 回答