Skip to main content
Solved

(Box for Salesforce) Flow APEX Action


I Installed Box for Salesforce and Use Apex Action「Get Folder ID By Record ID」 by Flow.


But I get an Error mail everytime.



From: FlowApplication <info@jp.salesforce.com>

Date: *****

Subject: フロー「Target Folder Under Account」でエラーが発生しました: An Apex error occurred: box.Toolkit.BoxApiException:

エラー要素 boxID_Parent (FlowActionCall)。

An Apex error occurred: box.Toolkit.BoxApiException:



I don’t know what a happen.

Error mail has no Detail Information.(ex. Missing required input parameter: recordId. )


In ApexDebugLogDetail, I can’t get an error information too.



14:06:45.229 (229451568)|HEAP_ALLOCATE|[external]|Bytes:8 14:06:45.229 (229480913)|VARIABLE_SCOPE_BEGIN|[31]|this|box.GetFolderIdByRecordId_v2.Request|true|false 14:06:45.229 (229546908)|VARIABLE_ASSIGNMENT|[31]|this|{}|0x5562b465 14:06:45.229 (229624678)|HEAP_ALLOCATE|[external]|Bytes:4 14:06:45.229 (229630570)|HEAP_ALLOCATE|[external]|Bytes:8 14:06:45.229 (229741110)|VARIABLE_ASSIGNMENT|[external]|this.recordId|“0015j00001DOKzrAAH”|0x5562b465 14:06:45.229 (229751833)|HEAP_ALLOCATE|[external]|Bytes:8 14:06:45.229 (229774390)|ENTERING_MANAGED_PKG|box 14:06:45.229 (229848887)|VARIABLE_SCOPE_BEGIN|[5]|box.GetFolderIdByRecordId_v2.MESSAGE_NO_ARGUMENTS|String|false|true 14:06:45.229 (229861422)|VARIABLE_SCOPE_BEGIN|[6]|box.GetFolderIdByRecordId_v2.MESSAGE_ONE_REQUEST|String|false|true 14:06:45.229 (229902737)|HEAP_ALLOCATE|[external]|Bytes:16 14:06:45.229 (229909975)|HEAP_ALLOCATE|[external]|Bytes:1 14:06:45.229 (229914753)|HEAP_ALLOCATE|[external]|Bytes:66 14:06:45.229 (229931390)|VARIABLE_ASSIGNMENT|[external]|box.GetFolderIdByRecordId_v2.MESSAGE_NO_ARGUMENTS|“No input arguments w (46 more) …” 14:06:45.229 (229936966)|HEAP_ALLOCATE|[external]|Bytes:69 14:06:45.229 (229946625)|VARIABLE_ASSIGNMENT|[external]|box.GetFolderIdByRecordId_v2.MESSAGE_ONE_REQUEST|“Only one request per (49 more) …” 14:06:45.229 (229977785)|METHOD_ENTRY|[4]|01p5j00000UdxYS|box.GetFolderIdByRecordId_v2.GetFolderIdByRecordId_v2() 14:06:45.229 (229984804)|STATEMENT_EXECUTE|[4] 14:06:45.229 (229992098)|ENTERING_MANAGED_PKG|box 14:06:45.229 (230643643)|METHOD_EXIT|[4]|box.GetFolderIdByRecordId_v2 14:06:45.229 (230680856)|HEAP_ALLOCATE|[external]|Bytes:8 14:06:45.229 (230692510)|VARIABLE_SCOPE_BEGIN|[9]|requests|List<box.GetFolderIdByRecordId_v2.Request>|true|false 14:06:45.229 (230883281)|VARIABLE_ASSIGNMENT|[external]|this|{“recordId”:“0015j00001DOKzrAAH”}|0x5562b465 14:06:45.229 (230928728)|VARIABLE_ASSIGNMENT|[9]|requests|“common.apex.runtime.impl.ScalarList@5562b484”|0x44c3ae83



any suggestions?


Thank you for reading my problem.

Best answer by ITCS_nakamura

David,


Thank you for your reply and advice.

The issue has been resolved.


I found out that the box folder has been hard deleted…(at trash too)

View original
Did this topic help you find an answer to your question?

2 replies

  • Participating Frequently
  • 7 replies
  • October 27, 2023

Can you try and run it in debug mode. The error states that it isn’t getting the input, I would check to make sure it is getting passed the value.


  • Author
  • New Participant
  • 1 reply
  • Answer
  • October 30, 2023

David,


Thank you for your reply and advice.

The issue has been resolved.


I found out that the box folder has been hard deleted…(at trash too)


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings