CA Service Management

 View Only
  • 1.  How use transfer native methods Spel?

    Posted Oct 17, 2018 01:54 PM

    Hi Guys,

    Someone here has already figured out how to use the native SPEL transfer methods below:

     

    iss :: transfer (object, uuid, string | nil, uuid, uuid, uuid, object | nil);

    cr :: transfer (object, uuid, string | nil, uuid, uuid, object | nil);

    chg :: transfer (object, uuid, string | nil, uuid, uuid, uuid, object | nil);

    api :: generic_transfer (uuid, string, string, long, string, long, string, long, string);

     

    Thanks any tips.



  • 2.  Re: How use transfer native methods Spel?
    Best Answer



  • 3.  Re: How use transfer native methods Spel?

    Posted Oct 17, 2018 05:30 PM

    Great cdtj!

    BUT i would like use api::generic_transfer method...

    Do you know use it?



  • 4.  Re: How use transfer native methods Spel?

    Posted Dec 13, 2018 11:08 AM

    Hi Daniel,

    you can use api::generic_transfer in this way:

     

    userid - userid doing this actiom
    objPersid - persid for cr, chg or iss
    desc - activity description
    new_agt - persid for new agent - optional
    new_grp - persid for new group - optional
    new_org - persid for new org - optional.Only valid for chg and iss.

    For paramenter set_*** use 0.

     

    api::generic_transfer(uuid userid, string objPersid, string desc, int set_agt, string new_agt,int set_grp, string new_grp,
    int set_org, string new_org )

     

    I hope this can help you.

    Regards,

    Carlos



  • 5.  Re: How use transfer native methods Spel?

    Posted Dec 13, 2018 01:17 PM

    Thank you so much Carlos!

    Fantastic!