Error in Script Task

Dear Team,

                    Here I wrote a code in script task in business process I.e.,

                    Select selectqry = new Terrasoft.Core.DB.Select(userConnection)

                   .Column("UsrHrStatusId")

                   .Column("Usrcandresponse")

                   .Column("UsrCandidateNameId")

                   .From("UsrInterview")

                   .Where("UsrIndentLocationId").IsEqual(Column.Parameter(LocationId)) as Select;        

                   I am getting the below error:          

                   How to solve this error?PFA.

Like 0

Like

1 comments

Dear Sekhar,

It is hard to tel exactly what is the issue is caused by. Please double-check the code on line 75 of the schema, which the compilation errors window is indicating to. 

As for the Select class, please see the examples on the bpm'online academy on usage of this class and its construction. Implement the same example in your script task:

https://academy.bpmonline.com/api/SDKNETAPI/7.10.0.en/Terrasoft.Core~Te…

https://academy.bpmonline.com/documents/technic-sdk/7-13/retrieving-inf…

Regards,

Anastasia

Show all comments