How to call subprocess macro in main process

sgnarkhede2016
sgnarkhede2016 New Altair Community Member
edited November 2024 in Community Q&A
I'm calling subprocess in my main process but unable to access macro present in subprocess main process for further used

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • lionelderkrikor
    lionelderkrikor New Altair Community Member
    Hi @sgnarkhede2016,

    Mmhh, I have difficulties to understand what you mean.
    Can you provide your data, your process ans explain more explicitly what you want to do ?

    Regards,

    Lionel
  • sgnarkhede2016
    sgnarkhede2016 New Altair Community Member
    if you have once process need to call another process then we execute process operator but if process you are calling contain macro then 
    how to get these macro values in current process
  • lionelderkrikor
    lionelderkrikor New Altair Community Member
    @sgnarkhede2016,

    I'm not sure to understand, but maybe you can generate an attribute (via Generate Attributes operator inside an Handle Exception subprocess to avoid error(s) if the macro does not exist) and set the value
    of this attribute to the macro value.
    Then you can check in the Branch operator if this generated attribute exists by setting condition type = attribute available

    Hope this helps,

    Regards,

    Lionel
  • sgnarkhede2016
    sgnarkhede2016 New Altair Community Member
    I am calling subprocess in my main process but unable to access macro generated in subprocess in my main process
  • lionelderkrikor
    lionelderkrikor New Altair Community Member
    @sgnarkhede2016,

    Can you share your process(es) (via File --> Export Process) and your data in order we can reproduce and understand what's going on ?

    Regards,

    Lionel
  • sgnarkhede2016
    sgnarkhede2016 New Altair Community Member
    Sorry I can't share the process but I resolve above issue using filter and branch operator
  • lionelderkrikor
    lionelderkrikor New Altair Community Member
    OK, @sgnarkhede2016.

    Glad you have fixed this issue ! 

    Regards,

    Lionel

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.