User bio
404 bio not found
Member since Apr 5, 2022
Replies:

I have tried to reply to both of your posts individually, but unfortunately, the website does not seem to be working for me when I try to so here are my replies, Thank you again.

Marc Mundt

Thank you for asking I could have explained it better.

I am using the EnsLib.File.PassthroughService, to my understanding this service reads a file in its entirety and then converts it to a string and sends it through the production to a Business process. This process needs to take the string from the BS and concatenate a second string to the end of it. from there the Process needs to send it to an Operation. I am trying to write this in Object script, but I am having a hard time creating the BP from scratch, I have tried to read the documentation but I do not fully understand how to create a BP in just Object Script. 

I created a new Project in studio and selected Business Process, It automatically created the OnRequest Method and so I read up on that and I believe that that is the correct method I need to use. But I am not sure how to call the BS string into the Process. 

I hope this helps a bit. 

Julius Kavay 

Method OnRequest(pRequest As Ens.Request, Output pResponse As Ens.Response) As %Status
{
                Set EndMarker = "End Of File"
                Set IncomingString = ##class(ProofOfConcept.bs.SendFile).%New()
               
                Set Response = IncomingString _ EndMarker 

                Quit $$$ERROR($$$NotImplemented)
}

This is what I have tried, I created a new project in studio and selected the Business Process, it selected the OnRequest Method for me. I read up on it and it seems like it should work for me. But what I do not understand is how to: 
- call the Business Service string that I am expecting to get from the BS? 
- Once I have the string How can I send it to a Business operation? 

I know this may not look like much but I am having a hard time finding documentation how to create a BP from scratch. 

Certifications & Credly badges:
gerald has no Certifications & Credly badges yet.
Global Masters badges:
gerald has no Global Masters badges yet.
Followers:
gerald has no followers yet.
Following:
gerald has not followed anybody yet.