IT:AD:K2:HowTo:Set up Environments
### Create An Environment Template per Target Client Environment ###
- In the
K2 Workspace
(eg:http://k2.server.corp.com
) - Under
Management
- Drill down to
Environment Library
* Drill down toTemplates
- Add new …
- Tip: If starting a new project, set it as the Default.
- As usual K2's UI could be better: select the same node, Right-Click, Select
Refresh
, and re-expand the node to see the new sub-item listed.
### Create Environments per the Environment Template ###
* In the K2 Workspace
(eg: http://k2.server.corp.com
)
* Under Management
* Select Environment Library
* Drill down to Templates
* Drill down to the new Environment Template
(eg: DEV
)
* Drill down to Environments
* Add New…
- Tip: Use the Template Name in the Environment Name as the
K2 Object Browser
(K2OB
) in Visual Studio can't easily show what environment you're in without drilling down… - eg:
DEV Dev
|DEV Prod
- As usual K2's UI could be better: select the same node, Right-Click, Select
Refresh
, and re-expand the node to see the new sub-item listed.
### Set Environment Settings ###
- When a new Template is created, it copies the Field Schemas from the
Default Template
, marking them asDefault
(so you can see which are specific to the project, and which came in as Default Settings.
### Template Fields ###
The classics that are dragged in from Default
are listed below – just update the Host to point to localhost (Dev environment) or a remote server:
#### K2 Servers ####
- Category Server:
Integrated=True; IsPrimaryLogin=True; Authenticate=True; EncryptedPassword=False; Host=theserver.corp.local; Port=5555
- Workflow Server:
Integrated=True; IsPrimaryLogin=True; Authenticate=True; EncryptedPassword=False; Host=theserver.corp.local; Port=5555
- Workflow Management Server:
Integrated=True; IsPrimaryLogin=True; Authenticate=True; EncryptedPassword=False; Host=theserver.corp.local; Port=5555
- ServiceObject Server:
Integrated=True; IsPrimaryLogin=True; Authenticate=True; EncryptedPassword=False; Host=theserver.corp.local; Port=5555
- SmartObject Server:
Integrated=True; IsPrimaryLogin=True; Authenticate=True; EncryptedPassword=False; Host=theserver.corp.local; Port=5555
##
Dependencies
- MailServer:
- Use the DNS for the mail server.
- eg:
CORPwgex1.CORP.co.nz
orCORPwgex2.CORP.co.nz
* Pulse:
DSL Provider ID
: 1- Type: Misc
- Value: 1
- Notes:
- key name is case sensitive, etc.
- comes from Pulse Admin,
Workflow Provider Definitions
.
DSL Server URL
:- Type: Misc
- Value:
http://pulse.thepulseswebserver.corp.local/DSLCFSclient/
- CHECK: It is the value that Pulse Client Event uses as the url to send to the user to alert them of the next task.
- Notes:
- key name is case sensitive, etc.
- it is for the Pulse Client (not Admin or Services) website
- As it is intended for Client alerts, use the AD url, not a local HOSTS file entry.
- General:
- Common key that WF's can use to query the environment:
- ADDaemonName:
- ADDaemonPwd: