How do i know where to put invoke code inside a project with many sequences

my invoke code works well in a separate project. but gives errors in the main project.

  1. do i put in at the end of the workflow is .

Hello @Latoya_mbatha

It not mandatory to use it at the end. You can use invoke code at any position in the script and it depends on your requirement. You can invoke c# orvb.net scripts.

@Latoya_mbatha you are facing issues with Invoke Workflow or Invoke Code

invoke code is working . the work flow is the issue

Okay kindly show a snap !

is there any alternative

Hey @Latoya_mbatha

Actually I can’t see the images you have posted. Could you please upload the image again to verify ?

Thanks
#nK

(post deleted by author)

Okay @Latoya_mbatha

So now what I understood is your invoke code is working fine but not the sequence right ?

Is there any error if you can show us please…

Thanks
#nK

the invoke code was working well in a different project that i was sampling.

so now i just transffered the code to the 2 project and its not working. is not sending text to the last table.

Hey @Latoya_mbatha

What is the type of variable TextToInsert in the assign ?

Thanks
#nK

A string. because strAgent Concluion has to be sent.

Then it should not actually that error, What is on the To side of the Assign activity.

Above the invoke code is the strAgentConcluision is the assign activity that needs with i wanted to replace textIntoInsert.

i copied and pasted that . I’m struggling to also replace it with the variables in the main project.

the bookmark on was just an example of how it has to work. but I’m not going to be using it

Hey @Latoya_mbatha

Could you please share the XAML file itself ?

Thanks
#nK

its a sensitive project

Okay @Latoya_mbatha

Actually there is a minor bug in the code I believe.

But with current screenshots it’s a bit tough to identify !

Thanks
#nK

Thankyou for your help so far.

1 Like

Hope you were able to resolve it !