Skip to main content
April 18, 2024
Question

Integration not working correctly only in Sub process

  • April 18, 2024
  • 13 replies
  • 0 views

we are running Gmail Poller's Connected System in Integration.

This Integration returns a list of Gmail Email Id's.

The TEST REQUEST in the Integation object succeeds and successfully returns a list of Gmail Email Id's.

Running this Integration in a process model also successfully returns a list of movement id's.

However, when this process model is executed as a sub-process, this Integration object does not return a list of ids and returns one empty item.

This sub-process model does not need to and does not reference values from the parent process, as it works as expected normally when executed independently.

Nevertheless, it is not clear why this Integartion node returns an unexpected value only when it runs as a child process.

Can you tell me where I should check?

13 replies

karumurua531442
April 18, 2024

hi [mention:15998842abd847959f973ed620ea4b5f:e9ed411860ed4f2ba0265705b8793d05]  how is your subprocess running can i know please is it sync / async?

April 18, 2024

Hi [mention:3510a5189ce1477eaf2e09f5858c87e9:e9ed411860ed4f2ba0265705b8793d05] 

Thank you for your response.

This subprocess is running synchronously.

karumurua531442
April 18, 2024

Could run it in async and check and let me know the result please 

konduruc733182
April 18, 2024

Hello [mention:15998842abd847959f973ed620ea4b5f:e9ed411860ed4f2ba0265705b8793d05] 

Could you please check the configuration of your subprocess model node configuration. Also if possible could you please share the details? Is this output that you say is not reflecting in the parent process or there is no data in the sub-process as well? I would say check the output configuration's of the sub-process node if it the parent process that is missing the data.

April 22, 2024

there is no data in the sub process. the concerned node in the subprocess does not give the expected data for the output, which is a list of strings (ids), and give an empty list instead. 

April 22, 2024

Can you check how the security is configured at the sub process node, may be user on the behalf of which you are trying to run the integration and try to fetch value is not having sufficient privileges.

gopalk2865
April 18, 2024

taikih1637 Did you check process history ? are you getting integration error? can you share some more details?

shubhama926776
April 18, 2024

[mention:15998842abd847959f973ed620ea4b5f:e9ed411860ed4f2ba0265705b8793d05] As the process running synchronously you can do 2 things.
Make process asynchronous as it was independent(Do not put chaining).
If you really want to use synchronously, I want you to run your node as whoever designed this process model.

Let me know if that works for you.

April 23, 2024

Thank you very much for your response.

I did try to run the node as whoever designed this process model, but It did not give the expected result and the result was still the same. 

If there is anything in your mind, please let me know.

rohitm7223
April 23, 2024

I hope the process initiator is having integration & connected system access. Have you tried running process with Permission "Whosoever designed the process model" 

April 23, 2024

Yes, the initiator is having access and permission to those objects, it actually ran when running the process alone. I tried to run the process as "Whosever designed the process model"...

rohitm7223
April 24, 2024

Can you provide some screenshot, of both the scenario's and process history. When running alone and when running as sub process?