简体   繁体   中英

How to store a value in nested collection field in blueprism?

I need to store "x" in Item Data.Equipment Requirement.Tariff.0

Item Data is a collection which has a field of type collection "Equipment Requirement" Equipment Requirement is a collection which has a field Tariff and filled with 6 rows.

I am sure that there is no naming errors, but each time i store something in Item Data.Equipment Requirement.Tariff.0 i got and error:

Internal : Could not store calculation result - Field Item Data.Equipment Requirement.Tariff.0 not found

在此输入图像描述 在此输入图像描述

Blue Prism's dot notation only has the capability to refer to collection fields, not specific row indices. Use the Utility - Collection Manipulation VBO's Set Collection Field Action:

Business Object: Utility - Collection Manipulation
Action: Set Collection Field
Inputs:
    - Row Index: 0
    - Collection: Item Data.Equipment Requirement
    - Field Name: Tariff
    - Value: "35"
Outputs:
    - Updated Collection: Item Data.Equipment Requirement

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM