Action with a condition that checks for a survey filled in a transaction
Hi!
I need to create an action with a condition that checks if there is a survey filled in the complaint document.
Is there any way to do it?
Thanks a lot!
Susana Messias
Hi Siva,
Thanks for the document.
My scenario its the following:
I have a complaint with a survey assigned to it. I need to create an action that creates a follow-up task to the person responsible when the status is equal to Completed and the survey it's not filled.
I customized the action profile as you said, but the problem is to create a condition with the information about the survey. The field status it's ok to insert in a condition, but how about the survey?
Any ideas?!
Susana Messias
Similar Messages
-
Is there a way to create a custom screensaver with pics/slides that display for different amounts of time? Or even add a "video slide" into the screensaver?
My business has 3 TVs displayed in our lobby, each with its own apple TV and they are all linked to the same photo stream. Currently the Atv screensaver displays the photostream pictures of our products for the default 3 seconds. We just added pics/slides that now display messages and useful info for our customers but I want that info to be displayed for a longer period of time than the pictures to give people a chance to read it.
I tried using flickr and powerpoint as a work around but no luck. I created a slide in powerpoint with play length of 15 secs and saved it as a wmv file. I added that file to a "screensaver" set in flickr and pointed the Atv screensaver to that flickr set. It still displays everything, pics and the wmv file at the default 3 sec.
I know I can increase the duration of all pics in the screensaver to display for longer but the goal is to have the pics display at 3 secs and the info slides to display at 15 secs.Welcome to the Apple Community.
No that's not possible.
If you have any suggestions that you think might enhance the Apple TV you can send Apple your feedback here -
SCCM Version = SCCM 2012 R2 CU3
Background
I would like to setup some sort of safety check to help prevent accidentally sending and OSD out to all the servers managed by SCCM. The solution I am trying to use is making the TS do a check for a custom variable. If the variable is NOT set to TRUE
then it should reboot the machine back to the currently installed OS.
The variable is called "AllowOSD"
AllowOSD is set correctly on my "Test Servers" collection
I'm using the built in "Reboot Computer" step in the TS
The condition on the Reboot Computer step is very basic - "Task Sequence Variable AllowOSD is not equal TRUE".
I am testing the TS on a VM guest (Hyper-V)
I'm deploying via PXE for these tests...
The Issue
As soon as the TS starts I get the annoyingly generic 0x80004005 error - smsts.log posted on github -
smsts.log-A
Possibly related issue:
I have a vbscript that prompts for, and sets, the computer name. This works fine if placed after the format disk step, but if I place it before the format disk step then I get error 0x800700A1. If I format the internal HD first then I don't get an error
and it all works fine.
smsts.log posted on github - smsts.log-B
Be aware VM_1 and VM_2 have unformatted disks (vhdx). I don't want them to be formatted before checking that the task sequence should really be running in the first place. As already mentioned, I am trying to prevent someone wiping out a bunch of servers
by accident.
My Task Sequences are based on the defaults created by the wizard. Here are the step I'm using...
* Reboot if AllowOSD is not TRUE
Restart in Windows PE
* set Computer Name
Partition DIsk 0 - DIOS
Partition Disk 0 - UEFI
Install Operating System
Apply Windows Settings
Apply Network Settings
Setup Windows and Config Manager
* = steps I have created.
All other steps are defaults as created by wizard.
Please note the "Restart in Windows PE" step does a conditional check on "_SMSTSInWinPE" without any errors. it is looking like the use of custom variables is not supported until the local HD is formatted and mounted. Can
anyone confirm this behaviour, or what I can do to get around this problem.
I have tried using a vbscript but triggering a reboot from VB does nothing, hence using the Reboot Computer step in the TS.
Thanks
"Well I'm all out of ideas." - 85As others have stated, your options are limited the moment you rely on PXE and WinPE but I think all you need to do is refine your collection target a bit.
Why not instead of deploying your TS to All Systems (which is what I'm guess you're doing) and trying to put a condition in, deploy to a collection that is based on a workstation collection then include unknown computers? Then any "known workstation"
will have a MAC stored and thus be permitted to use the TS, unknown machines will be as well ... but "known servers" will be blocked?
COnsidering the PXE looks for permitted MAC addresses this should work (Ill try it in my own lab).
Tested and verified:
Simply create a collection with a parent collection of all systems.
Add a workstation query:
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.OperatingSystemNameandVersion LIKE "%Workstation%"
Then "include" unknown computers.
End result is any machine that has "server" in it's version that has already been deployed will not be able to use the deployment. If you'd rather base existing computer on an OU or group membership just modify the first query how you see fit.
This will let known workstations (or whatever) and unknown machines get deployed to ... but known machines NOT in that collection will be skipped. -
Action with start condition always triggers
Functionality required: "when its 4 days from the actual date an
Audit is to take place an e-mail should be triggered to the
audit attendees"
I have created a new date rule (4 days before - reminder) and
added this date rule to the date profile 000000000003. I am
using this date profile in my actions and have set a new start
condition to trigger an e-mail alert when "todays date" = my new
date rule. I have set up scheduled conditions which are met.
when i create transactions which meet both the scheduled and
start conditions (from my perspective) the action is getting
triggered to send the e-mail reminder. My new date rule is as
follows:
<?xml version="1.0"?>
<TimeRule>
<TimeRuleSource>
<ruleline>
<AssignTimeExp displaytype="AssignTime">
<VarTimeExp displayType="VarTime"
name="RESULT"
position='B'>
<VarObjectExp displaytype="VarObject"
name="SYSTEM"/>
</VarTimeExp>
<MoveTimeExp displaytype="MoveTime" direction="-">
<VarTimeExp displayType="VarTime"
name="ORDERACTUAL"
position="B">
<VarObjectExp displaytype="VarObject"
name="SYSTEM"/>
</VarTimeExp>
<ConstDuraExp displaytype="ConstDura"
duration="4" timeunit="DAY">
<VarObjectExp displaytype="VarObject"
name="SYSTEM"/>
</ConstDuraExp>
</MoveTimeExp>
</AssignTimeExp>
</ruleline>
</TimeRuleSource>
When i test it using various dates it seems to work as expected, it returms false when it should fail and true when it should suceed When tested from within the date rule for the FROM and TO date for todays dates i get the following:
Deadlines
Appointment Type RESULT
From SA 10.02.2007 14:27:52 GMTUK
From
Appointment Type ORDERACTUAL
From WE 14.02.2007 14:27:52
To WE 14.02.2007 14:27:52
Duration
Reference Objects
SYSTEM GMTUK CL_TIMECALENDAR_SIMPLE
In my start condition i am testing for my date rule (4 days
before - reminder) = todays date.
Can anyone explain why my start condition is always being triggered
Thanks in advance
EdHello Easwar Ram,
Thanks for your reply.
No, I didn't create an Action Profile. I use standard profile: /SCWM/TU (Shipping & Receiving - Transportation Unit).
I only have created a new Action Definition, Schedule and Start Conditions for this Definition. All work correctly with the exception of the button 'Start Condition Parameter'.
I don't know why the button appears because I didn't define a Condition Parameter for the Start Condition. And when I click on this button I get an error in standard SAP code:
1) li_bor_object ?= l_context->appl.
2) ls_bor_handle = li_bor_object->get_bor_object( ip_objtype = l_objtype ).
L_context->appl has value '' in the debugger. After line 1 the value of the li_bor_object is '' therefore line 2 terminates the transaction with error.
Maybe this occurs because the Action Profile uses a Persistent Class for Object Type instead of a Business Object Repository? -
Condition that checks the value of an Item derived from a select list
I want to conditionally display and hide items in a region based on a select list item.
Some items will display when the select list is at the default (%null%) and others will be displayed when the select list user selects from the select list.
The display is then updated when the "SAVE" button is pressed and the page processed.
How do I test the select list item to be null. The condition looks like this;
Type: PL/SQL Expression
:P1_SELECT is null
I also tried, :P1_SELECT is not null and :P1_SELECT = '%nul%'.
The latter changed the condition to :P1_SELECT = ''
How can I test the valu in P1_SELECT?
tia,
Sam
Message was edited by:
After a long day I saw that I did not write the condition correctly. Mea culpa.
slavanawayI had the problem wrong.
The issue was a second field that could have a Y or N or null. When I checked it in PL/SQL expression as
:P_YN != 'Y' and :P_SELECT is null
assuming the null condition would resolve as != 'Y' I had to do an explicit check as
(:P_YN != 'Y' or :P_YN is null) and :P_SELECT is null
That fixed it.... I like null and I hate null
Thanks for the reply -
PO Form with Terms & Conditions that Change Depending on a Value in Another Field
Hi - I have read through the relevant topics in this forum and have attempted several of them without luck. I am currently working on a form in which there is an empty JFMain (I do not want to populate fields on this page since I don't want things in this page my "static" header - logos, title, etc. since the Terms and Conditions pages should not show any of this.) On my page 2, I have subforms for all my fields except my Terms and Conditions. (These fields are controlled by a data file.) On my remaining pages I have 3 sets of Terms and Conditions - all about a page long - hard-coded as text and placed in subforms with a dummy field off page to ensure they print. What I want to do is print the subforms from page 2 and then the applicable terms from page 3, 4, or 5 depending on the value in a field located in one of the subforms on page 2. What I currently get is my subforms and then ALL my terms printing. Any thoughts?
My preamble overrides look like this:
^define group:D_HEADER \field$POSITION\reserve".11",in\subformHEADER.
^define group:G_HEADER @group:D_HEADER.
^define group:dummy!FldNotAvail \groupG_Terms_Private_Commodity
^define group:dummy2!FldNotAvail \groupG_Terms_Private_Services
^define group:dummy3!FldNotAvail \groupG_Terms_Public
^define group:JfEndData!EndData @group:D_end.
I had to place the JFEndData! statement into the Preamble since the last subform with fields called before the Terms subforms has a global field from another subform above it. For whatever reason, it was duplicating this subform after printing the Terms and Conditions.
I tried adding a nested if statement into field that will control when I want each subform to print but it was ignored. I also tried hardcoding a group call into the preamble with the logic as well with no results. If someone has example code they can share, this would be great.I receive Adobe help forum posts via email and I've been saving a few for the pointers they contain. I have some saved that might help you out a bit...
A reply to the "Please can some one help me out......." post by Mr BoJangles on 10/29/2007 gives some information about forcing a subfield to be displayed.
A reply to the "Conditional logic" post by Marco Degl'Innocenti on 8/2/2006 gives information on initiating a subform based on the value of a field in the data stream.
A reply to the logic post by Marco DeglInnocenti on 2/22/07 also gives information on initiating a subform based on the value of a field.
I hope these can be of help. If you can't access them on the forum I can repost them. -
How do I send a email notification with PL/SQL to Check for Columns
I want to be able to use PL/SQL to check my columns and makes sure that all required columns were populated, and if any were not populated to send an email notification.
Thanks
HankI would still suggest that adding appropriate constraints (well, logical constraints) to the table is the right way to go.
When you get the file back, you load the data into the table. If the constraint is satisfied, the data is loaded. If the constraint is violated, the loader gets an error, writes the affected data to another table, to another file, etc. That way, the data in the database is always correct and you have a log of the rows that were bad.
create table t( status varchar2(10), cost number );
create or replace trigger trg_t
before insert or update
on t
for each row
begin
if :new.status = 'Approved' and :new.cost is null
then
raise_application_error( -20001, 'Cost must not be null if status is approved' );
end if;
end;
SCOTT @ hp92 Local> insert into t values( 'Reject', 1 );
1 row created.
SCOTT @ hp92 Local> insert into t values( 'reject', null );
1 row created.
SCOTT @ hp92 Local> insert into t values( 'Approved', 2 );
1 row created.
SCOTT @ hp92 Local> insert into t values( 'Approved', null );
insert into t values( 'Approved', null )
ERROR at line 1:
ORA-20001: Cost must not be null if status is approved
ORA-06512: at "SCOTT.TRG_T", line 4
ORA-04088: error during execution of trigger 'SCOTT.TRG_T'If you don't want to touch the loader, you can rename the table, create a view with the same name, and use an INSTEAD OF trigger on the view to populate the real table or a reject table.
Either way, you're better off, in general, rejecting invalid records than trying to expend a lot of effort reporting on them.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
TOSHIBA software that check for newest drivers and installs them
Is there a software? I have Toshiba tempo, but it just pops a message saying that there is a new drivers, but there is no option to install them automatically as well as to check the current version?
As far as I know such software doesnt exist. Tempro is designed to inform notebook user but it is your decision to make update or not.
I must also say that I completely agree with Xardas. You dont need update if everything works properly. I use my Satellite P500 almost a year and half and still use original OS from Toshiba. What I install are Microsoft updates (important only) and antivir software update. -
Procedure that checks for a value in the database and returns related info
Hi Everyone,
I need to create a stored procedure that takes customer info(any of these fname,lname,id,email etc) and looks for it in the database and displays the customer info of that particular customer(kinda search engine).
I have to use dynamic sql and sql injection.Can anyone give me a brief idea from where to start.Thankyou.create or replace procedure pro_customer(p_customer_id number, p_customer out customer%rowtype) is
begin
select *
into p_customer
from customer
where customer_id = p_customer_id;
end pro_customer;
the names,keys and others are invented -
i have 26 dollars and want to buy an app for .99 it says i need to answer security questions but i for got the answers am i able to reset those questions or i can't
If you have a rescue email address (which is not the same thing as an alternate email address) set up on your account then the steps half-way down this page give you a reset link on your account : http://support.apple.com/kb/HT5312
If you don't have a rescue email address (you won't be able to add one until you can answer 2 of your questions) then you will need to contact iTunes Support / Apple to get the questions reset.
Contacting Apple about account security : http://support.apple.com/kb/HT5699
When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down the HT5312 link above to add a rescue email address for potential future use -
There were two upgrades very close together. I upgraded and now have 29.0. No matter whether I'm going to an address, typing into a box, or waiting for a website to load, the Mac "beach ball" will spin for a few seconds before loading. I use the default theme. I have minimal - (Xmarks and Trend micro), which weren't a problem before. Is there something I can do besides disabling the add-ons?
Thanks in advance for your help.I've never used pastebin. I've copied the information there. Is there an address I need to use to send it or something?
-
I need to update a table with three conditions to check help me to solve this?
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
DROP PROCEDURE [dbo].[HRM_AssignInsuranceUpdate]
GO
CREATE PROCEDURE [dbo].[HRM_AssignInsuranceUpdate]
@ID INT,
@InsuranceTypeID BIGINT,
@CompanyID BIGINT,
@EmpID BIGINT,
@InsuredObject NVARCHAR(250),
@PolicyNumber NVARCHAR(250),
@StartDate DATE,
@ExpiryDate DATE,
@Remarks NVARCHAR(MAX),
@UpdatedBy NVARCHAR(150)
AS
BEGIN
IF NOT EXISTS (SELECT * FROM dbo.HRMAssignInsurance WHERE InsuredObject = @InsuredObject
AND InsuranceTypeID = @InsuranceTypeID AND CompanyID = @CompanyID AND IsActive = 1)
BEGIN
UPDATE HRMAssignInsurance
SET InsuranceTypeID=@InsuranceTypeID,
CompanyID=@CompanyID,
EmployeeID=@EmpID,
InsuredObject=@InsuredObject,
PolicyNumber=@PolicyNumber,
StartDate=@StartDate,
ExpiryDate=@ExpiryDate,
Remarks=@Remarks,
UpdatedBy=@UpdatedBy
WHERE ID = @ID
SELECT @ID
END
ELSE
BEGIN
SELECT 0
END
ENDIf you're using SQL Server 2008 and up, use MERGE command to incorporate your conditions into one command.
Other wise change your query
to
IF EXISTS (SELECT * FROM dbo.HRMAssignInsurance WHERE InsuredObject = @InsuredObject
AND InsuranceTypeID = @InsuranceTypeID AND CompanyID = @CompanyID AND IsActive = 1)
Thanks,
Shridhar J Joshi
<If the post was helpful mark as 'Helpful' and if the post answered your query, mark as 'Answered'> -
I had a nightmare upgrade to Mountain Lion after downloading it from the APP Store I went to install and it got to the hard drive and it was greyed out and said it could not install on the startup drive I tried all the solution mentioned already, checking the disk the permissions, time machineetc and then started removing third party apps/software and it still wouldn't install in the end I saved everything I could to disk that I required and erased the disk, re-installed snow leopard and then re-downloaded Mountain Lion and then it installed perfectly and is running fine. I wish to ask if Apple can't make the upgrade process less stressful with some kind of tool that checks for issues prior to upgrading to ML and fixes or advices of any issues. Microsoft have had these kind of tools so surely Apple can do something similar that can advice of incompatibilty issues and fixes so that us MAC users aren't left scratching our heads trying to work out what is wrong, it's poor support when you can't help users get the software you make and sell onto our hardware Apple.
You should let Apple know of your concerns at:
http://www.apple.com/feedback/macosx.html
MtD -
Can't check for nulls in a conditional?
Hey everyone. Trying my hand at a text based game but I'm encountering many problems:
I have this method in one class that (as you can see) has a conditional that checks to see if 'check' is null, this throws a null pointer exception whenever it is called.
private void placeChars()
String check = currentItem.getItemString();
if(check.equals(null) && currentRoom.getShortDescription().equals("in the cafeteria"))
josh.getSentence(0);
}Here is the method that it is calling from:
public String getItemString()
String returnString = null;
if(haveItems != 0 ){
returnString = "Items:";
Set<String> keys = items.keySet();
for(String item : keys) {
returnString += " " + item;
return returnString;
}I'm not sure what I am doing wrong here :/ and yes I know the code is extremely ugly :)if check is null, you can't invoke any methods on it, including equals.
To check for null:
if (check == null) -
Is there a program that will check for viruses or other reasons why it runs slow?
For several months my iMac has been running slow or freezing often. Safari often quits unexpectedly as does mail on occasion.
Programs that check for viruses are a major cause of slow Macs, so let's look at doing steps that don't handicap your computer:
1) How full is your hard drive? You need a minimum of 10G free for background processes such as Virtual Memory.
2) How much RAM is installed? RAM for the Mid-2010s is rather cheap at the moment, I upgraded my 27-inch Mid-2010 recently from the original 4GB to 12 GB for about US$55. Installation took only minutes.
3) If you have an external hard drive for backups, are you using something other than Time Machine to do the backups. Many third-party backup programs can cause a performance hit.
The next step is a little longer. It checks to see if some runaway background process is eating processor cycles and slowing you down:
1) Use your computer normally for typical tasks for several hours, then quit any applications you have launched. Do not restart.
2) In Applications > Utilities, find Activity Monitor. If you've not used it before, you have to change a setting. At the top of the AM window is a "Show" option. By default it is set to show "My Processes." Change it to "All Processes" like this:
4) Now highlight the "%CPU"column as shown so the most active processes "bubble"to the top (tiny arrow points down).
Now watch things move up and down for a minute of two. What you are looking for is any single process that is using more than about 10 percent of the processor cycles while the computer is idling. If you see one doing that, post its name in a reply here.
Awaiting your report,
Allan
Maybe you are looking for
-
Serial no in delivery document
Hi to all, i am facing some problem regarding print layout in delivery document .i want serial no in delivery doument.because serial no is print on separate page.i want print serial no. on delivery document .if i set serial no in prinlayout. i
-
Analyzer 7.2.1 and Reports 7.2.1 on the same machine
Hi all,We have this environment on the reporting server:- OS 2003 server SP1- Analyzer 7.2.1, repository Oracle 10g- Reports 7.2.1, repository Oracle 10g- Web Server: Websphere Express 5.1On another server is installed Essbase 7.1
-
Windows 7 / Server 2008 R2 Bare Metal Restore 0x0000007B Stop Error
Hi, I am tring to restore a Server 2008 R2 Standard Ed (full installation) RTM to a virtual machine, from a full Windows Server Backup image taken of a physical machine (Dell PE 2970). All restores fine, and looks good until it tries to boot, when a
-
Can't load my adobe 6.0 program on my new windows 7
I have recently purchased a windows 7 pc. I own adobe 6.0 as I cannot yet afford the new adobe. My program will not load for me. I have downloaded Adobe reader - active x and acrobat I am not pc technical savey only graphics ,etc. Why will my o
-
Hello everyone We have a requirement if one user is replacing another, we have to clone user attributes and resource attributes from the old user to the new one including the attributes manually modified not just these populated by access policies .