am able to create an nupkg , install it locally & use it
I want to know if this can be installed as an activity for e.g. i can create a mainframe login session & add more sub-activities within this activity e.g. 1 workflow can continue in a terminal session to mainframe screen 1 & another can navigate to screen2
Pls let me know how to do this
In general when i use this package in a sequence am unable to add more sub-activities within this
Not sure what you mean by sub activities. A library contains one or more custom activities (as separate XAMLs). Usually what you want to do is have each custom activity do a specific set of discrete steps. For example, I built a mainframe library that has activities like Mainframe Login, Select Session, Send UDAT Command, etc.
So if I want to log in and then select a session, I put those two activities one after another in my process.
like what i mean by sub-activity is say i have logged into terminal session within that session i want to do many things
If i create a package for login & invoke that in ‘workflow1’ am not able to add more activities within that login
in contrast say i use a while-loop activity within that i can add activities like multiple-assign, send keys, etc in ‘workflow1’
I don’t understand what you’re describing.
You put the “login to mainframe” custom activity into your process then put the rest of your steps for your process after. Your login to mainframe activity needs to have an out argument that is the terminal connection from the Terminal Session output property. Then you use that variable as the input (Existing Connection property) to another Terminal Session activity:
suppose i have all this i.e acquiring terminal session and login in one workflow Create this as a package in a library.
I use this package with in this login session the test case is to navigate to different screens to perform some ‘Update of data’ for e.g. … then am unable to add activities within this login session
Again, you have to pass the terminal connection to an out argument of the custom activity, so you can use it as the input property of your Terminal Connection activity.