Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

Access Attachments from Another Form

  • Last UpdatedNov 24, 2023
  • 2 minute read

You can access or use the Attachments submitted in a different form by using Update Variable Activity.

Consider, we have a form that can submit the feedback from users with some attachment as a reference. After feedback has been submitted, it initiates a workflow, which has an Invoke Form activity pointing to another Form, wherein we need to access the attachment submitted by the user for further evaluation. To do this, we would need to use an Update Variable Activity.

This is the sample workflow to understand the use case of accessing attachments from another Form.

To access attachments from another Form

  1. Create a Feedback Form with fields and attachment control as shown in the image below.

    Embedded Image (65% Scaling) (LIVE)

  2. Create another Feedback Review Form.

    Embedded Image (65% Scaling) (LIVE)

  3. Create Update Variable activity with the XMLVariables shown in below image.

    In the Update Variable activity, update the LHS and RHS to transfer the Data between the XML Variables representing the Feedback Form and Feedback Review Form, wherein the RHS would be Feedback Form Xml Variable nodes and LHS would be the Feedback Review Form Xml Variable nodes.

    Embedded Image (65% Scaling) (LIVE)

    The submitted Form information gets stored in the SFFormData Xml Variable. The Invoke Form Activity pointing to another form used for Verification would be referring to another Form Xml Variable, say FeedbackReviewData. To have the Attachment details present in the FeedbackReviewData Xml Variable, we would need to assign the Xml Node References and its attribute node skFilePath from SFFormData to FeedbackReviewData as shown below (the Attachment node is named as References in the below image):

    Embedded Image (65% Scaling) (LIVE)

    Now the Invoke Form Activity workitems, representing the Feedback Review Form, could refer to the Attachment, which was done in the Feedback Form submitted by the users.

Related Links
TitleResults for “How to create a CRG?”Also Available in