Accessing a variable inside a Record producer script?

terp
Giga Contributor
Accessing a variable inside a Record producer script? I've seen various answers to this question.   -   What is the official answer? current.variablename or producer.variablename
1 ACCEPTED SOLUTION

Abhinay Erra
Giga Sage

it is producer.<variable_name>. "current" points to the record which is about to get created from this record producer.


View solution in original post

9 REPLIES 9

Abhinay Erra
Giga Sage

Eric,



    If you got this answered, please mark it as correct so that others who have same question can find the answer quickly.


terp
Giga Contributor

Hi Abhinay,



I would like to do so, but I do not have (or see) a button to mark the answer as correct.   I noticed others have the same issue.




find_real_file.png


Hi Eric,



  Are you viewing this from Inbox? If so, you will not see the correct Answer button from Inbox. You will have to open the thread directly, then you should see Correct Answer button with red star. Let me know, if you still cannot see the button, I will get community moderation to assist.


Shravan Gatty
Giga Guru

it should be producer.variablename.

Geranbaha Fatem
Tera Contributor

producer.variablename is true For record producers